Declaration
function LoadFromBuffer(Buffer: pointer; BufferSize: integer; ImageFormat: TIOFileType = ioUnknown): boolean;
Description
Load an image from a buffer (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.
Result will be
False if the file is not a recognized file type. Other errors will raise an exception.
Note: For legacy reasons, LoadFromBuffer() is an alias of Read()
See Also
◼LoadFromFile
◼LoadFromStream
◼Filename
◼WicFastLoading
◼IO