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:
◼Alternatively, you can use the loading methods of 
IO
◼For legacy reasons, LoadFromStream() is an alias of Read()
See Also
◼LoadFromFile
◼LoadFromBuffer
◼Filename
◼WicFastLoading
◼IO