Vcl.Imaging.GIFImg.TGIFImage.ColorReduction
Delphi
property ColorReduction: TColorReduction read FColorReduction write FColorReduction;
C++
__property TColorReduction ColorReduction = {read=FColorReduction, write=FColorReduction, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TGIFImage |
Description
Specifies the color reduction method to use when importing bitmaps.
The ColorReduction property specifies the color reduction method to use when importing bitmaps into the TGIFImage instance.
The possible values of the ColorReduction property are given in the following table, together with their meanings.
Value | Meaning |
---|---|
rmNone |
Do not perform any color reduction. |
rmWindows20 |
Reduce to the Windows 20 color system palette. |
rmWindows256 |
Reduce to the Windows 256 color halftone palette. This only works in 256 color display mode. |
rmWindowsGray |
Reduce to the Windows 4 grayscale colors. |
rmMonochrome |
Reduce to a black/white monochrome palette. |
rmGrayScale |
Reduce to a uniform 256 shade grayscale palette. |
rmNetscape |
Reduce to the Netscape 216 color palette. |
rmQuantize |
Reduce to an optimal 2^n color palette. |
rmQuantizeWindows |
Reduce to an optimal 256 color windows palette. |
rmPalette |
Reduce to a custom palette. |