| The document's color mode. |
Value
| Name | Description | Value |
DocumentMode.BITMAP | Bitmap, which uses one of two color values (black or white) to represent the pixels in an image. |
int
5
|
DocumentMode.CMYK | CMYK. |
int
3
|
DocumentMode.DUOTONE | Duotone mode, which creates monotone, duotone (two-color), tritone (three-color), and quadtone (four-color) grayscale images using one to four custom inks. |
int
8
|
DocumentMode.GRAYSCALE | Grayscale. |
int
1
|
DocumentMode.INDEXEDCOLOR | Indexed color, in which the number of colors in the image is at most 256, the standard number of colors supported by the GIF and PNG-8 formats and many multimedia applications. |
int
6
|
DocumentMode.LAB | Lab. |
int
4
|
DocumentMode.MULTICHANNEL | Image with multiple color channels. |
int
7
|
DocumentMode.RGB | RGB. |
int
2
|
|
Usage
| As property
Document.mode
|