ImageEn, unit iexBitmaps

TIEMultiBitmap.LoadFromBuffer

TIEMultiBitmap.LoadFromBuffer

Declaration

function LoadFromBuffer(Buffer: Pointer; BufferSize: Integer; FileType: TIOFileType = ioUnknown);

Description

Load an image from a buffer (including all its frames) of any format supported by the TImageEnMIO class.
FileType specifies the file format of the image. If ioUnknown is specified, the format is detected automatically by reading the image header (using FindStreamFormat).

Returns False on failure.

Note:
Alternatively, you can use the loading methods of MIO
For legacy reasons, LoadFromBuffer() is an alias of Read()

See Also

LoadFromFile
LoadFromBuffer
SaveToFile
MIO