ImageEn, unit iexHelperFunctions |
|
TIEBitmap.IESaveToFile
Declaration
function IESaveToFile(const Filename : string; JpegQuality : Integer; IOParams: TIOParams = nil): Boolean;
Description
Allows a TIEBitmap to save to any format supported by ImageEn. If you are saving to JPEG you can also specify the
JPEG_Quality.
You can optionally specify an
TIOParams object containing the I/O parameters of the file.
Returns True if saving was successful, or False on error.
Example
// Save the image at 90% quality
MyIEBitmap.IESaveToFile(SavePictureDialog1.FileName, 90)