Indexed Conversion Options
Options for converting an RGB image to an indexed color model using Document.changeMode
Properties
Name
Type
Access
Default
Min Version
Description
colors
number
R W
-
23.0
The number of palette colors. Valid only with palette types: LOCALADAPTIVE, LOCALPERCEPTUAL, LOCALSELECTIVE, MACOSPALETTE, UNIFORM, WEBPALETTE, or WINDOWSPALETTE.
ditherAmount
number
R W
-
23.0
The amount of dithering to be done. Valid only when dither typ is DIFFUSION.
matte
R W
WHITE
23.0
The color to use to fill anti-aliased edges adjacent to transparent areas of the image. When transparency is false, the matte color is applied to transparent areas.
preserveExactColors
boolean
R W
-
23.0
When true, the image colors matching entries in the color table will not be dithered.
transparency
boolean
R W
-
23.0
When true, transparent areas of the image are preserved during conversion to GIF format.
typename
string
R
-
23.0
The class name of the referenced object: "IndexedConversionOptions".