PhotoshopCC 2015.5
Object

IndexedConversionOptions

Options for converting an RGB image to an indexed color model.

DocumentConversionOptions IndexedConversionOptions

Properties

NameType AccessDescription
static Int read/write The number of colors in the palette. Not valid for all palette types.
static DitherType
read/write The type of dither.
static Int 1–100 read/write The amount of dither. Valid only when 'dither' = diffusion.
static ForcedColors
read/write The type of colors to force into the color palette.
static MatteType
read/write The color to use to fill anti-aliased edges adjacent to transparent areas of the image. When transparency = false, the matte color is applied to transparent areas.
static PaletteType = PaletteType.EXACT
read/write The type of palette.
static Boolean read/write If true, protects colors in the image that contain entries in the color table from being dithered. Valid only when 'dither' = diffusion.
static Boolean read/write If true, preserves transparent areas of the image during conversion to GIF format.