iDither

Dithering options. Note that the dithering options are useful only when the resulting bitmaps require a palette (when they are 8 bits per pixel or less).

The following are valid values:

Value

Meaning

CRD_NODITHERING

Use nearest color matching.

CRD_FLOYDSTEINDITHERING

Use Floyd-Steinberg dithering.

CRD_STUCKIDITHERING

Use Stucki dithering.

CRD_BURKESDITHERING

Use Burkes dithering.

CRD_SIERRADITHERING

Use Sierra dithering.

CRD_STEVENSONARCEDITHERING

Use Stevenson Arce dithering.

CRD_JARVISDITHERING

Use Jarvis dithering.

CRD_ORDEREDDITHERING

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

CRD_CLUSTEREDDITHERING

Use clustered dithering.