public enum JpegCompressionMode extends Enum<JpegCompressionMode>
Compression mode for jpeg images.
Enum Constant and Description |
---|
Baseline
The baseline compression.
|
JpegLs
The JPEG-LS compression.
|
Lossless
The lossless compression.
|
Progressive
The progressive compression.
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
Gets the value that represents the type of the enum.
|
static JpegCompressionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JpegCompressionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JpegCompressionMode Baseline
The baseline compression.
public static final JpegCompressionMode Progressive
The progressive compression.
public static final JpegCompressionMode Lossless
The lossless compression.
public static final JpegCompressionMode JpegLs
The JPEG-LS compression.
public static JpegCompressionMode[] values()
for (JpegCompressionMode c : JpegCompressionMode.values()) System.out.println(c);
public static JpegCompressionMode 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()