Parameters
- Stream
- System.IO.Stream object storing the image data.
- FileName
- The initial name of the file stored in the Stream object. IE: myfile.tif. The document format will be automatically detected based on this file name.
Return Value
0: The image could not be created. Use the GetStat() method to determine the reason this method
failed.
Non-zero: GdPicture image identifier. The created image. The ReleaseGdPictureImage() method must be subsequently used to release the image from the memory.