Value
Name | Description | Value |
---|---|---|
Palette.EXACT | The palette uses the exact colors appearing in the RGB image; available only if the image uses 256 or fewer colors. Because the image's palette contains all colors in the image, there is no dithering. | int 1 |
Palette.LOCALADAPTIVE | Creates a palette by sampling the colors from the spectrum appearing most commonly in the image. For example, an RGB image with only the colors green and blue produces a palette made primarily of greens and blues. | int 8 |
Palette.LOCALPERCEPTUAL | Creates a custom palette by giving priority to colors for in the image which the human eye has greater sensitivity. | int 6 |
Palette.LOCALSELECTIVE | 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. Usually produces images with the greatest color integrity. | int 7 |
Palette.MACOSPALETTE | The Mac OS default 8-bit palette, whch is based on a uniform sampling of RGB colors. | int 2 |
Palette.MASTERADAPTIVE | 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. | int 11 |
Palette.MASTERPERCEPTUAL | 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. | int 9 |
Palette.MASTERSELECTIVE | Creates a color table similar to the Master Perceptual color table, but favoring broad areas of color and the preservation of web colors. | int 10 |
Palette.PREVIOUSPALETTE | Uses the custom palette from the previous conversion, making it easy to convert several images with the same custom palette. | int 12 |
Palette.UNIFORM | Creates a palette by uniformly sampling colors from the RGB color cube. For example, if Photoshop takes six evenly spaced color levels each of red, green, and blue, the combination produces a uniform palette of 216 colors (6 cubed = 6 x 6 x 6 = 216). The total number of colors displayed in an image corresponds to the nearest perfect cube (8, 27, 64, 125, or 216) that is less than the value in the Colors text box. | int 5 |
Palette.WEBPALETTE | The 216-color palette that web browsers, regardless of platform, use to display images on a monitor limited to 256 colors. A subset of the Mac OS 8-bit palette. Use this option to avoid browser dither when viewing images on a monitor display limited to 256 colors. | int 4 |
Palette.WINDOWSPALETTE | The Windows system's default 8-bit palette, whch is based on a uniform sampling of RGB colors. | int 3 |
Usage
As property
GIFSaveOptions.palette
IndexedConversionOptions.palette
Jongware, 28-Aug-2012 v3.0.3i | Contents :: Index |