Available in the LEADTOOLS Imaging toolkit. |
DitherFlags Property (ILEADRasterDlgClr)
long DitherFlags; | |
Overview |
Refer to Using Imaging Common Dialogs |
Remarks
Gets or sets a value indicating the dithering option in the ColorResolution dialog box. Setting this before calling the Color Resolution dialog box has no effect. Possible values are:
Value |
Meaning |
CRD_NODITHERING |
[0x00000000] Use nearest color matching. |
CRD_FLOYDSTEINDITHERING |
[0x00010000] Use Floyd-Steinberg dithering. |
CRD_STUCKIDITHERING |
[0x00020000] Use Stucki dithering. |
CRD_BURKESDITHERING |
[0x00030000] Use Burkes dithering. |
CRD_SIERRADITHERING |
[0x00040000] Use Sierra dithering. |
CRD_STEVENSONARCEDITHERING |
[0x00050000] Use Stevenson Arce dithering. |
CRD_JARVISDITHERING |
[0x00060000] Use Jarvis dithering. |
CRD_ORDEREDDITHERING |
[0x00070000] Use ordered dithering, which is faster but less accurate than other dithering methods. |
CRD_CLUSTEREDDITHERING |
[0x00080000] Use clustered dithering. |
See Also
Elements |
ShowColorResDlg method, BitsPerPixel property, PaletteFlags property, UIFlags property |