ImageEn, unit iexBitmaps

TIOParams.PNG_Filter

TIOParams.PNG_Filter


Declaration

property PNG_Filter: TIOPNGFilter;


Description

Specifies the filter to use when saving a PNG file. PNG filters can have a significant impact on the file size and encoding (i.e. saving) speed, though, generally the effect on the decoding/loading speed is minimal.

Default: ioPNG_FILTER_NONE


Example

// Set best compression
ImageEnView1.IO.Params.PNG_Filter := ioPNG_FILTER_PAETH;
ImageEnView1.IO.Params.PNG_Compression := 9;
// Save PNG
ImageEnView1.IO.SaveToFilePNG('D:\max.png');