Vcl.Imaging.GIFImg.TGIFImage.DitherMode
Delphi
property DitherMode: TDitherMode read FDitherMode write FDitherMode;
C++
__property TDitherMode DitherMode = {read=FDitherMode, write=FDitherMode, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TGIFImage |
Description
Specifies the dithering algorithm to use when displaying the GIF images.
The DitherMode property specifies the dithering algorithm to use when optimizing or reducing the palette of one of the GIF images stored in the TGIFImage instance.
The following table lists the possible values of the DitherMode property, together with their meanings.
Value | Meaning |
---|---|
dmNearest |
Use the nearest color matching algorithm, without error correction. |
dmFloydSteinberg |
Use the Floyd-Steinberg error diffusion dithering algorithm. |
dmStucki |
Use the Stucki error diffusion dithering algorithm. |
dmSierra |
Use the Sierra error diffusion dithering algorithm. |
dmJaJuNI |
Use the Jarvis, Judice, and Ninke error diffusion dithering algorithm. |
dmSteveArche |
Use the Stevenson and Arche error diffusion dithering algorithm. |
dmBurkes |
Use the Burkes error diffusion dithering algorithm. |