ImageEn, unit iexHelperFunctions |
|
TImageEnIOHelper.SaveToStreamEx
Declaration
function SaveToStreamEx(Stream: TStream; FileType: TIOFileType; JpegQuality: integer = 0): Boolean;
Description
Calls
SaveToStream, optionally setting
JPEG_Quality.
You must specify the
file format.
Returns True if saving was successful, or False on error
Note: You must add the iexHelperFunctions unit to your uses clause
// Save the image to MyImage.jpeg at 90% quality
ImageEnView1.IO.SaveToStreamEx( DestStream, ioJPEG, 90 );