Vcl.Imaging.GIFImg.TGIFImage.Dithering

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Dithering: TGIFDithering read FDithering write SetDithering;

C++

__property TGIFDithering Dithering = {read=FDithering, write=SetDithering, 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 behavior when displaying the GIF images.

The Dithering property specifies the dithering behavior to use when displaying the GIF images stored in the TGIFImage instance.

The following table displays the possible values of the Dithering property, together with their meanings.


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