Error getting tags :
error 404Error getting tags :
error 404 dontDither | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
dontDither
Basics
Expander triangle
Type
Property
Syntax
set the dontDither of image to {true | false}
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies whether 24-bit images are dithered on displays with fewer colors.
Examples

set the dontDither of image "Photo" to false
set the dontDither of image "Line Art" to true

Additional Comments
Expander triangle

Use the dontDither property to control how bitmapped images such as JPEGs or PNGs behave when the stack is used on a display whose bit depth is 8 bits (256 colors) or fewer.

Value:

The dontDither of an image is true or false.

By default, the dontDither property of newly created images is set to false.

Comments:

If the dontDither of an image is set to true, then when that image is displayed on an 8-bit screen, colors that are not part of the current color table are displayed as a solid block of the closest available color. This may create visible banding on images with continuous gradations of color.

If the dontDither of an image is false, colors that are not part of the current color table are displayed as a dithered pattern made up of two or more close colors, in order to approximate the exact color. This is preferable for images such as photographs that include continuous gradations of color, but may produce speckling on images with large blocks of solid color.

The setting of the dontDither property has no effect on 24-bit or 16-bit screens.

User Comments
Expander triangle