Vcl.Imaging.GIFImg.TGenericColorMapper

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TGenericColorMapper: TColorLookupClass = TSlowColorLookup;

C++

extern DELPHI_PACKAGE TColorLookupClass TGenericColorMapper;

Properties

Type Visibility Source Unit Parent
variable public
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg Vcl.Imaging.GIFImg

Description

Specifies the color mapper to use when displaying GIF images.

Change the value of TGenericColorMapper to specify an alternate color mapper to use when displaying GIF images.

The color mappers are used by the dithering routines, for example when high-color images are converted to GIF format.

If your images contain many skin tones or the colors are very unevenly distributed, you should use the slow, but precise TSlowColorLookup color mapper.

If the colors are evenly distributed across the color spectrum, the TFastColorLookup color mapper might actually work better than TSlowColorLookup.

See Also