PaletteType¶
Description¶
The palette type for converting an image to indexed color.
Static Properties¶
EXACT readonly | The palette uses the exact colors appearing in the RGB image; available only if the image uses 256 or fewer colors. |
LOCALADAPTIVE readonly | Creates a palette by sampling the colors from the spectrum appearing most commonly in the image. |
LOCALPERCEPTUAL readonly | Creates a custom palette by giving priority to colors for in the image which the human eye has greater sensitivity. |
LOCALSELECTIVE readonly | Creates a color table similar to the Perceptual color table, but favoring broad areas of color in the image and the preservation of web colors. |
MACOSPALETTE readonly | The Mac OS default 8-bit palette, whch is based on a uniform sampling of RGB colors. |
MASTERADAPTIVE readonly | Creates a palette by sampling the colors from the spectrum appearing most commonly in a group of open images that share the same color palette. |
MASTERPERCEPTUAL readonly | Creates a custom palette by giving priority to colors in a group of open images with the same color palette for which the human eye has greater sensitivity. |
MASTERSELECTIVE readonly | Creates a color table similar to the Master Perceptual color table, but favoring broad areas of color and the preservation of web colors. |
PREVIOUSPALETTE readonly | Uses the custom palette from the previous conversion, making it easy to convert several images with the same custom palette. |
UNIFORM readonly | Creates a palette by uniformly sampling colors from the RGB color cube. |
WEBPALETTE readonly | The 216-color palette that web browsers, regardless of platform, use to display images on a monitor limited to 256 colors. |
WINDOWSPALETTE readonly | The Windows system’s default 8-bit palette, whch is based on a uniform sampling of RGB colors. |