| ImageEn, unit iexHelperFunctions |
|
TBitmapHelper.IESaveToStream
Declaration
function IESaveToStream(Stream: TStream; FileType: TIOFileType; JpegQuality: Integer): Boolean;
Description
Allows a
TBitmap to save to any format supported by ImageEn. If you are saving to JPEG you can also specify the
JPEG_Quality.
You must specify the
file format to use for saving the image..
Returns True if saving was successful, or False on error.
Note:
◼You must add the iexHelperFunctions unit to your uses clause
◼Delphi/C++ 2005 or newer is required to use helper classes
Example
// Save the image at 90% quality
MyBitmap.IESaveToStream( DestStream, ioJPEG, 90 );
See Also
◼Advanced Helper Methods
◼All TBitmap Methods