Class
Options for converting an RGB image to an indexed color model. Base Class: DocumentConversionOptions
IndexedConversionOptions
Class
Property | Type | Access | Description |
---|---|---|---|
colors | int | r/w | The number of colors in the palette. Not valid for all palette types. |
dither | Dither: Dither.NONE Dither.DIFFUSION Dither.PATTERN Dither.NOISE |
r/w | The type of dither. |
ditherAmount | int (range: 1 - 100) | r/w | The amount of dither. Valid only when 'dither' = diffusion. |
forced | ForcedColors: ForcedColors.NONE ForcedColors.BLACKWHITE ForcedColors.PRIMARIES ForcedColors.WEB |
r/w | The type of colors to force into the color palette. |
matte | MatteType: MatteType.NONE MatteType.FOREGROUND MatteType.BACKGROUND MatteType.WHITE MatteType.BLACK MatteType.SEMIGRAY MatteType.NETSCAPE |
r/w | 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. |
palette | Palette: Palette.EXACT Palette.MACOSPALETTE Palette.WINDOWSPALETTE Palette.WEBPALETTE Palette.UNIFORM Palette.LOCALPERCEPTUAL Palette.LOCALSELECTIVE Palette.LOCALADAPTIVE Palette.MASTERPERCEPTUAL Palette.MASTERSELECTIVE Palette.MASTERADAPTIVE Palette.PREVIOUSPALETTE |
r/w | The type of palette. (default: Palette.EXACT) |
preserveExactColors | bool | r/w | If true, protects colors in the image that contain entries in the color table from being dithered. Valid only when 'dither' = diffusion. |
transparency | bool | r/w | If true, preserves transparent areas of the image during conversion to GIF format. |
Jongware, 28-Aug-2012 v3.0.3i | Contents :: Index |