ImageEn, unit iexHelperFunctions

TBitmapHelper.IESaveToFile

TBitmapHelper.IESaveToFile


Declaration

function IESaveToFile(const Filename : string; 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.
Returns True if saving was successful, or False on error.

Note: You must add the iexHelperFunctions unit to your uses clause


Example

// Save the image at 90% quality
MyBitmap.IESaveToFile(SavePictureDialog1.FileName, 90);