Vcl.Imaging.pngimage.TPngImage.Filters

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

property Filters: TFilters read fFilters write fFilters;

C++

__property TFilters Filters = {read=fFilters, write=fFilters, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Imaging.pngimage.pas
Vcl.Imaging.pngimage.hpp
Vcl.Imaging.pngimage TPngImage

Description

Specifies the filters applied to the png image.

Use the Filters property to check or set the filter algorithms used on the png image. The filters specified by the Filters property are used before compressing the image. The main purpose of the filter algorithm is to prepare the image for optimal compression. The following table lists the possible values and their meaning.



Value Meaning

pfNone

No filter is applied; scan lines are stored directly.

pfSub

The Sub algorithm is used.

pfUp

The Up algorithm is used.

pfAverage

The Average algorithm is used.

pfPaeth

The Paeth algorithm is used.