ColorModes
Overview
ColorModes is an enum in Aspose.PSD FOSS for Java.
Defines the color modes supported by PSD files.
This enum declares 2 methods for ColorModes objects in Java programs.
Available methods include: fromValue, getValue.
Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package.
Properties: value.
Values
| Value | Description |
|---|---|
Bitmap | Bitmap color mode. |
Grayscale | Grayscale color mode. |
Indexed | Indexed color mode (using a color palette). |
Rgb | RGB color mode (Red, Green, Blue). |
Cmyk | CMYK color mode (Cyan, Magenta, Yellow, Black). |
Multichannel | Multichannel color mode. |
Duotone | Duotone color mode (two-color gradient). |
Lab | LAB color mode. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
value | short | Read | Gets the value. |
Methods
| Signature | Description |
|---|---|
getValue() → short | Returns the value. |
fromValue(value: short) → ColorModes | Calls the static method fromValue(value) of ColorModes. |