Value
Name | Description | Value |
---|---|---|
ChangeMode.BITMAP | Bitmap. Note: Color images must be changed to Grayscale mode before you can change them to Bitmap mode. | int 5 |
ChangeMode.CMYK | CMYK. | int 3 |
ChangeMode.GRAYSCALE | Grayscale. | int 1 |
ChangeMode.INDEXEDCOLOR | Indexed 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.LAB | Lab. | int 4 |
ChangeMode.MULTICHANNEL | Image 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.RGB | RGB. | int 2 |
Usage
In function
void Document.changeMode (destinationMode: ChangeMode[, options: DocumentConversionOptions])
Jongware, 28-Aug-2012 v3.0.3i | Contents :: Index |