Vcl.Imaging.GIFImg.TGIFDithering

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TGIFDithering = (
gdDisabled,                 // Never dither
gdEnabled,                  // Always dither
gdAuto                      // Dither if Desktop DC supports <= 256 colors.
);

C++

enum DECLSPEC_DENUM TGIFDithering : unsigned char { gdDisabled, gdEnabled, gdAuto };

Properties

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

Description

Specifies the dithering behavior when using the Netscape 216 color palette.

A variable of type TGIFDithering specifies the dithering behavior when displaying a GIF image using the Netscape 216 color palette.

The following table lists the possible values of a variable of type TGIFDithering.


Value Meaning

gdDisabled

Never dither when using the Netscape 216 color palette.

gdEnabled

Always dither when using the Netscape 216 color palette.

gdAuto

When using the Netscape 216 color palette, only dither if the Desktop DC (device context) supports less than 256 colors.



See Also