ColorReductionType

The color reduction algorithm.

Values

Name

Description

Value

ColorReductionType.ADAPTIVE

Samples color from the spectrum appearing most commonly in the image.

2

ColorReductionType.BLACKWHITE

Uses a set palette of colors.

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.

4

ColorReductionType.GRAYSCALE

Uses a set palette of colors.

6

ColorReductionType.MACINTOSH

Uses a set palette of colors.

7

ColorReductionType.PERCEPTUAL

Gives priority to colors for which the human eye has greater sensitivity.

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.

3

ColorReductionType.SELECTIVE

Gives priority to broad areas of color and the preservation of web colors; usually produces images with the greatest color integrity.

1

ColorReductionType.WINDOWS

Uses a set palette of colors.

8

Object of

ExportOptionsSaveForWeb.colorReduction