Adobe Photoshop CS5 Object Library JS: ChangeMode

Photoshop CS5

 The destination color mode. Note: Color images must be changed to Grayscale mode before you can change them to Bitmap mode.

Value

NameDescriptionValue
ChangeMode.BITMAPBitmap. Note: Color images must be changed to Grayscale mode before you can change them to Bitmap mode. int 5
ChangeMode.CMYKCMYK. int 3
ChangeMode.GRAYSCALEGrayscale. int 1
ChangeMode.INDEXEDCOLORIndexed color, in which the number of colors in the image is reduced to at most 256, the standard number of colors supported by the GIF and PNG-8 formats and many multimedia applications.
This conversion reduces file size by deleting color information from the image. To convert to indexed color, you must start with an image that is 8 bits per channel and in either Grayscale or RGB mode.
int 6
ChangeMode.LABLab. int 4
ChangeMode.MULTICHANNELImage with multiple color channels.
Uses 256 levels of gray in each channel. Useful for specialized printing. Color channels in the original image become spot color channels in the converted image. A CMYK image converted to Multichannel mode creates cyan, magenta, yellow, and black spot channels. An RGB image converted Multichannel mode creates cyan, magenta, and yellow spot channels. The new grayscale information is based on the color values of the pixels in each channel. Multichannel mode images can be saved in Photoshop, Photoshop 2.0, Photoshop Raw, or Photoshop DCS 2.0 format. To export a multichannel image, save it in Photoshop DCS 2.0 format.
int 7
ChangeMode.RGBRGB. int 2

Usage

In function

void Document.changeMode (destinationMode: ChangeMode[, options: DocumentConversionOptions])

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