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

ValueDescription
BitmapBitmap color mode.
GrayscaleGrayscale color mode.
IndexedIndexed color mode (using a color palette).
RgbRGB color mode (Red, Green, Blue).
CmykCMYK color mode (Cyan, Magenta, Yellow, Black).
MultichannelMultichannel color mode.
DuotoneDuotone color mode (two-color gradient).
LabLAB color mode.

Properties

NameTypeAccessDescription
valueshortReadGets the value.

Methods

SignatureDescription
getValue() → shortReturns the value.
fromValue(value: short) → ColorModesCalls the static method fromValue(value) of ColorModes.

See Also