See Also Examples Applies To
Creates a new GdPicture Image from image data stored into Stream object.
Syntax
object.CreateImageFromStream (oStream)
The CreateImageFromStream syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| oStream | Required. Stream object. (Can be Istream or IUnknown) |
Returns
Long.
0: The image could not created. Use the GetStat() function to determine the
reason this function failed.
Non-zero: GdPicture Image handle. Handle of the created image.
Remarks
If success, set the created image as the native GdPicture image.
This function will work only with the following formats: BMP, DIB, RLE, ICO, EMF, WMF, GIF, ANIMATED GIF, JPEG, JPG, JPE, JFIF, PNG, TIFF and MULTIPAGE TIFF
Category
Load, Import & Create an image