Back to Uxp Photoshop

IndexedConversionOptions

src/pages/ps_reference/objects/conversionoptions/indexedconversionoptions.md

2.2.01.6 KB
Original Source

Indexed Conversion Options

Options for converting an RGB image to an indexed color model using Document.changeMode

Properties

NameTypeAccessDefaultMin VersionDescription
colorsnumberR W-23.0The number of palette colors. Valid only with palette types: LOCALADAPTIVE, LOCALPERCEPTUAL, LOCALSELECTIVE, MACOSPALETTE, UNIFORM, WEBPALETTE, or WINDOWSPALETTE.
ditherDitherR W-23.0The type of dithering to be done.
ditherAmountnumberR W-23.0The amount of dithering to be done. Valid only when dither typ is DIFFUSION.
forcedForcedColorsR W-23.0The set of colors to force into the color palette.
matteMatteColorR WWHITE23.0The 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.
palettePaletteR W-23.0The palette type.
preserveExactColorsbooleanR W-23.0When true, the image colors matching entries in the color table will not be dithered.
transparencybooleanR W-23.0When true, transparent areas of the image are preserved during conversion to GIF format.
typenamestringR-23.0The class name of the referenced object: "IndexedConversionOptions".