ImageEn, unit iemio

TImageEnMIO.LoadFromStreamGIF

TImageEnMIO.LoadFromStreamGIF


Declaration

function LoadFromStreamGIF(Stream: TStream): Boolean;


Description

Load a GIF from a stream into the attached TImageEnMView (at SelectedImage) or TIEMultiBitmap.
The result will be false if an error is encountered, e.g. the file in the stream is not GIF format (Aborting will be true).

Note:
Existing content is not cleared. Call Clear to remove existing content before loading.
To abort while loading set Aborting to true
LoadFromStreamGIF does not reset the position of the stream, so you may need to first call Stream.Position := 0;