WebPicture.Constructor(mb as MemoryBlock, FileName as String)
From Xojo Documentation
Constructor
Creates a WebPicture from mb using the supplied filename.
Example
If you have the picture data available as a MemoryBlock, you can use it to create a WebPicture: