function SaveToStream(Stream: TStream; ImageFormat: TIOFileType): boolean;
Description
Save an image to a stream (including all its frames) to any format supported by the TImageEnMIO class.
You must specify the image format.
Returns true on success.
Note: ◼Alternatively, you can use the saving methods of MIO ◼For legacy reasons, SaveToStream() is an alias of Write()