ImageEn, unit iexHelperFunctions |
|
TImageEnIOHelper.SaveToFileEx
Declaration
function SaveToFileEx(const Filename: string; JpegQuality: integer = 0): Boolean;
Description
Calls
SaveToFile, optionally setting
JPEG_Quality.
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
// Save the image to MyImage.jpeg at 90% quality
ImageEnView1.IO.SaveToFileEx('D:\MyImage.jpeg', 90);