| The color reduction algorithm. |
Value
| Name | Description | Value |
ColorReductionType.ADAPTIVE | Samples color from the spectrum appearing most commonly in the image. |
int
2
|
ColorReductionType.BLACKWHITE | Uses a set palette of colors. |
int
5
|
ColorReductionType.CUSTOM | Uses a color palette that is created or modified by the user. If you open an existing GIF or PNG-8 file, it will have a custom color palette. |
int
4
|
ColorReductionType.GRAYSCALE | Uses a set palette of colors. |
int
6
|
ColorReductionType.MACINTOSH | Uses a set palette of colors. |
int
7
|
ColorReductionType.PERCEPTUAL | Gives priority to colors for which the human eye has greater sensitivity. |
int
0
|
ColorReductionType.RESTRICTIVE | Uses the standard 216-color color table common to Windows and Mac OS 8-bit (256-color or web-safe palette); ensures that no browser dither is applied when the image is displayed using 8-bit color. |
int
3
|
ColorReductionType.SELECTIVE | Gives priority to broad areas of color and the preservation of web colors; usually produces images with the greatest color integrity. |
int
1
|
ColorReductionType.WINDOWS | Uses a set palette of colors. |
int
8
|
|
Usage
| As property
ExportOptionsSaveForWeb.colorReduction
|