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.

Note: This property is not filled when loading a PNG

Default: ioPNG_FILTER_NONE

Demo

Demo  Demos\ImageEditing\EveryMethod\EveryMethod.dpr

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');

See Also

PNG_Compression
ImageQuality