Vcl.Imaging.pngimage.TFilters

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

type TFilters = set of TFilter;

C++

typedef System::Set<TFilter, TFilter::pfNone, TFilter::pfPaeth> TFilters;

Properties

Type Visibility Source Unit Parent
set
typedef
public
Vcl.Imaging.pngimage.pas
Vcl.Imaging.pngimage.hpp
Vcl.Imaging.pngimage Vcl.Imaging.pngimage

Description

TFilters is a set of filters that can be applied to a png image.

TFilters is a set of filter algorithms for that can be used on a png image. A filter algorithm is used before compressing a png 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.