DocumentMode

Description

The document’s color mode.

Static Properties

BITMAP readonly Bitmap, which uses one of two color values (black or white) to represent the pixels in an image.
CMYK readonly CMYK.
DUOTONE readonly Duotone mode, which creates monotone, duotone (two-color), tritone (three-color), and quadtone (four-color) grayscale images using one to four custom inks.
GRAYSCALE readonly Grayscale.
INDEXEDCOLOR readonly 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.
LAB readonly Lab.
MULTICHANNEL readonly Image with multiple color channels.
RGB readonly RGB.