public enum JpegCompressionColorMode extends Enum<JpegCompressionColorMode>
Сolor mode for jpeg images.
Enum Constant and Description |
---|
Cmyk
4-component CMYK image.
|
Grayscale
The Grayscale image.
|
Rgb
The RGB Color mode.
|
YCbCr
YCbCr image, standard option for jpeg images.
|
Ycck
The ycck color jpeg image.
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
Gets the value that represents the type of the enum.
|
static JpegCompressionColorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JpegCompressionColorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JpegCompressionColorMode Grayscale
The Grayscale image.
public static final JpegCompressionColorMode YCbCr
YCbCr image, standard option for jpeg images.
public static final JpegCompressionColorMode Cmyk
4-component CMYK image.
public static final JpegCompressionColorMode Ycck
The ycck color jpeg image. Needs icc profile for saving.
public static final JpegCompressionColorMode Rgb
The RGB Color mode.
public static JpegCompressionColorMode[] values()
for (JpegCompressionColorMode c : JpegCompressionColorMode.values()) System.out.println(c);
public static JpegCompressionColorMode 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 nullpublic int getType()