Adobe Photoshop CS5 Object Library JS: ColorReductionType

Photoshop CS5

 The color reduction algorithm.

Value

NameDescriptionValue
ColorReductionType.ADAPTIVESamples color from the spectrum appearing most commonly in the image. int 2
ColorReductionType.BLACKWHITEUses a set palette of colors. int 5
ColorReductionType.CUSTOMUses 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.GRAYSCALEUses a set palette of colors. int 6
ColorReductionType.MACINTOSHUses a set palette of colors. int 7
ColorReductionType.PERCEPTUALGives priority to colors for which the human eye has greater sensitivity. int 0
ColorReductionType.RESTRICTIVEUses 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.SELECTIVEGives priority to broad areas of color and the preservation of web colors; usually produces images with the greatest color integrity. int 1
ColorReductionType.WINDOWSUses a set palette of colors. int 8

Usage

As property

ExportOptionsSaveForWeb.colorReduction

Jongware, 28-Aug-2012 v3.0.3iContents :: Index