public enum PixelFormat extends Enum<PixelFormat>
The pixel data format actual meaning.
| Enum Constant and Description |
|---|
Bgr
The BGR color space.
|
CieLab
The CIE lab color space.
|
Cmyk
The CMYK color space.
|
Grayscale
The grayscale color space
|
Rgb
The RGB color space.
|
YCbCr
The YCbCr color space.
|
Ycck
The YCCK color space.
|
| Modifier and Type | Method and Description |
|---|---|
static PixelFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PixelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PixelFormat Grayscale
The grayscale color space
public static final PixelFormat Bgr
The BGR color space.
public static final PixelFormat Rgb
The RGB color space.
public static final PixelFormat YCbCr
The YCbCr color space.
public static final PixelFormat Cmyk
The CMYK color space.
public static final PixelFormat Ycck
The YCCK color space.
public static final PixelFormat CieLab
The CIE lab color space.
public static PixelFormat[] values()
for (PixelFormat c : PixelFormat.values()) System.out.println(c);
public static PixelFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.