Adobe Photoshop CS5 Object Library JS: BMPDepthType

Photoshop CS5

 The number of bits per channel (also called pixel depth or color depth). The number selected indicates the exponent of 2. For example, a pixel with a bit-depth of EIGHT has 2-to-the-8th, or 256, possible color values.

Value

NameDescriptionValue
BMPDepthType.BMP_A1R5G5B5A1 R5 G5 B5 advanced bit depth specification. int 61
BMPDepthType.BMP_A4R4G4B4A4 R4 G4 B4 advanced bit depth specification. int 64
BMPDepthType.BMP_A8R8G8B8A8 R8 G8 B8 advanced bit depth specification (same as normal 32 bit mode) int 67
BMPDepthType.BMP_R5G6B5R5 G6 B5 advanced bit depth specification. int 62
BMPDepthType.BMP_R8G8B8R8 G8 B8 advanced bit depth specification (same as normal 24 bit mode) int 65
BMPDepthType.BMP_X1R5G5B5X1 R5 G5 B5 advanced bit depth specification (same as normal 16 bit mode) int 60
BMPDepthType.BMP_X4R4G4B4X4 R4 G4 B4 advanced bit depth specification. int 63
BMPDepthType.BMP_X8R8G8B8X8 R8 G8 B8 advanced bit depth specification. int 66
BMPDepthType.EIGHT8 bits depth. int 8
BMPDepthType.FOUR4 bits depth. int 4
BMPDepthType.ONE1 bit depth. int 1
BMPDepthType.SIXTEEN16 bits depth. int 16
BMPDepthType.THIRTYTWO32 bits depth. int 32
BMPDepthType.TWENTYFOUR24 bits depth. int 24

Usage

As property

BMPSaveOptions.depth

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