ImageEn, unit iexHelperFunctions

TBitmap.IELoadFromStream

TBitmap.IELoadFromStream


Declaration

function IELoadFromStream(Stream: TStream; FileType: TIOFileType = 0): Boolean;


Description

Allows a TBitmap to load any format supported by ImageEn.
If you know the FileType type of the stream, pass it to speed up loading.
Returns True if loading was successful, or False on error


Example

// Load MyImage.jpeg into a bitmap
MyBitmap.IELoadFromStream( MyStream )