DitherFlags property (ILEADRasterThumbnail)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

ThumbnailColorResDitherConstants DitherFlags

Overview

Refer to Thumbnail Browser.

Remarks

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

THMB_CRD_NODITHERING

Use nearest color matching.

THMB_CRD_FLOYDSTEINDITHERING

Use Floyd-Steinberg dithering.

THMB_CRD_STUCKIDITHERING

Use Stucki dithering.

THMB_CRD_BURKESDITHERING

Use Burkes dithering.

THMB_CRD_SIERRADITHERING

Use Sierra dithering.

THMB_CRD_STEVENSONARCEDITHERING

Use Stevenson Arce dithering.

THMB_CRD_JARVISDITHERING

Use Jarvis dithering.

THMB_CRD_ORDEREDDITHERING

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

THMB_CRD_CLUSTEREDDITHERING

Use clustered dithering.

See Also

Elements:

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

Topics:

Raster Images: Using the Thumbnail Browser