DitherFlags property (Thumbnail Browser Control)

C++ Builder example

Delphi example

 

Builder Syntax

int DitherFlags

Delphi Syntax

DitherFlags : longInt

Overview

Refer to Thumbnail Browser.

Remarks

(Runtime-only)Indicates the dithering options that should be used when both ForceSize and MaintainAspect are True and the source image is not 24-bit. In this case, the thumbnail image is converted to 24-bit, then, combined with a "background" bitmap. Then, the resulting bitmap is returned to the thumbnail image's original bit-depth using this setting.

Possible values are:

Setting

Description

CRF_NODITHERING

Use nearest color matching.

CRF_FLOYDSTEINDITHERING

Use Floyd-Steinberg dithering.

CRF_STUCKIDITHERING

Use Stucki dithering.

CRF_BURKESDITHERING

Use Burkes dithering.

CRF_SIERRADITHERING

Use Sierra dithering.

CRF_STEVENSONARCEDITHERING

Use Stevenson Arce dithering.

CRF_JARVISDITHERING

Use Jarvis dithering.

CRF_ORDEREDDITHERING

Use ordered dithering, which is faster but less accurate than other dithering methods.

CRF_CLUSTEREDDITHERING

Use clustered dithering.

See Also

Elements:

BrowseDir method, PaletteFlags property, InfoBits property, ThumbnailBitsPerPixel property, ForceSize property, MaintainAspect property, ColorRes method (Main Control)

Topics:

Raster Images: Displaying Images