Adobe Photoshop CS5 Object Library JS: BMPDepthType
From 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
| Name | Description | Value |
|---|---|---|
| BMPDepthType.BMP_A1R5G5B5 | A1 R5 G5 B5 advanced bit depth specification. | int 61 |
| BMPDepthType.BMP_A4R4G4B4 | A4 R4 G4 B4 advanced bit depth specification. | int 64 |
| BMPDepthType.BMP_A8R8G8B8 | A8 R8 G8 B8 advanced bit depth specification (same as normal 32 bit mode) | int 67 |
| BMPDepthType.BMP_R5G6B5 | R5 G6 B5 advanced bit depth specification. | int 62 |
| BMPDepthType.BMP_R8G8B8 | R8 G8 B8 advanced bit depth specification (same as normal 24 bit mode) | int 65 |
| BMPDepthType.BMP_X1R5G5B5 | X1 R5 G5 B5 advanced bit depth specification (same as normal 16 bit mode) | int 60 |
| BMPDepthType.BMP_X4R4G4B4 | X4 R4 G4 B4 advanced bit depth specification. | int 63 |
| BMPDepthType.BMP_X8R8G8B8 | X8 R8 G8 B8 advanced bit depth specification. | int 66 |
| BMPDepthType.EIGHT | 8 bits depth. | int 8 |
| BMPDepthType.FOUR | 4 bits depth. | int 4 |
| BMPDepthType.ONE | 1 bit depth. | int 1 |
| BMPDepthType.SIXTEEN | 16 bits depth. | int 16 |
| BMPDepthType.THIRTYTWO | 32 bits depth. | int 32 |
| BMPDepthType.TWENTYFOUR | 24 bits depth. | int 24 |
Usage
As property
BMPSaveOptions.depth
| Jongware, 28-Aug-2012 v3.0.3i | Contents :: Index |