ImageEn, unit iexHelperFunctions

TImageEnIO.SaveToFileEx

TImageEnIO.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


Example


// Save the image to MyImage.jpeg at 90% quality
ImageEnView1.IO.SaveToFileEx('D:\MyImage.jpeg', 90);