DitherFlags property (LEADDlgColor Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT32 DitherFlags

Delphi Syntax

DitherFlags: L_UINT32

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets a value indicating the dithering option in the ColorResolution dialog box. Possible values are:

Value

Meaning

CRF_NODITHERING

[$00000000] Use the nearest matching color.

CRF_FLOYDSTEINDITHERING

[$00010000] Use Floyd-Steinberg dithering.

CRF_STUCKIDITHERING

[$00020000] Use Stucki dithering.

CRF_BURKESDITHERING

[$00030000] Use Burkes dithering.

CRF_SIERRADITHERING

[$00040000] Use Sierra dithering.

CRF_STEVENSONARCEDITHERING

[$00050000] Use Stevenson Arce dithering.

CRF_JARVISDITHERING

[$00060000] Use Jarvis dithering.

CRF_ORDEREDDITHERING

[$00070000] Use ordered dithering, which is faster but less accurate than other dithering methods.

CRF_CLUSTEREDDITHERING

[$00080000] Use clustered dithering.

See Also

Elements:

ShowColorResDlg method, BitsPerPixel property, PaletteFlags property, DlgFlagsEx property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events