ImageEn, unit iexBitmaps

TIEBitmap.LoadFromStream

TIEBitmap.LoadFromStream


Declaration

function LoadFromStream(Stream: TStream; ImageFormat: TIOFileType = ioUnknown): boolean;


Description

Load an image from a stream (of any format supported by the TImageEnIO class).
You can optionally specify the Format. If it is not specified, ImageEn will determine the file type automatically (by the content).

Result will be False if the file is not a recognized file type. Other errors will raise an exception.

Note: For legacy reasons, LoadFromStream() is an alias of Read()


See Also

LoadFromFile
LoadFromBuffer
Filename
WicFastLoading
IO