ImageGear for C and C++ on Linux v20.0 - Updated
enumIGDsplDitheringModes
API Reference Guide > Core Component API Reference > Core Component Enumerations Reference > enumIGDsplDitheringModes

Identifies dithering modes and flags.

Values:

IG_DSPL_DITHER_AUTO Destination device color resolution should be used for dithering. In this mode ImageGear automatically applies dithering only when it is necessary.
IG_DSPL_DITHER_TO_8BPP Forces ImageGear to assume that the output device is 8 bits per pixel and perform the necessary dithering.
IG_DSPL_DITHER_TO_4BPP Forces ImageGear to assume that the output device is 4 bits per pixel and perform the necessary dithering.
IG_DSPL_DITHER_TO_1BPP Forces ImageGear to assume that the output device is 1 bit per pixel and perform the necessary dithering.
IG_DSPL_DITHER_NONE Disables ImageGear's dithering. In this mode dithering is performed by the operating system or the device driver.
IG_DSPL_DITHER_MODE Bit mask for dithering modes.
IG_DSPL_DITHER_FIXED_PALETTE Dithering flag. ImageGear will try to use the standard palette when performing dithering. This may be useful if the output device contains more than one image and by using this flag it is possible to draw images with the same palette.
IG_DSPL_DITHER_NETSCAPE_PALETTE Dithering flag. Applicable only if the output device is 8 bits per pixel. It directs ImageGear to use the 216 entries of Netscape palette.
Is this page helpful?
Yes No
Thanks for your feedback.