TIEMultiBitmap.GetImageToStream
Declaration
procedure GetImageToStream(Index: Integer; Stream: TStream; SaveToType: TIOFileType; IOParams: TIOParams = nil);
Description
Saves the image at
Index to a stream.
| Parameter | Description |
| Index | The image index |
| Stream | The destination stream |
| SaveToType | The output image format (e.g. ioTIFF or ioJPEG) |
| Params | The save parameters |
Example
// Save the first image to a stream in JPEG format
MBitmap.GetImageToFile(0, MyStream, ioJPEG);