public enum CompressQuality extends java.lang.Enum<CompressQuality>
| Enum Constant and Description |
|---|
HIGH
For JPEG, this will equate to a QFactor of 0.25.
|
LOSSLESS
This may ONLY be selected for Flate, CCITTG3, CCITTG4, and JBIG2
|
LOW
For JPEG, this will equate to a QFactor of 0.75.
|
MAXIMUM
For JPEG, this will equate to a QFactor of 0.15.
|
MEDIUM
For JPEG, this will equate to a QFactor of 0.5.
|
MINIMUM
For JPEG, this will equate to a QFactor of 1.3.
|
UNSET
No Quality is selected.
|
| Modifier and Type | Method and Description |
|---|---|
static CompressQuality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompressQuality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressQuality UNSET
public static final CompressQuality MINIMUM
public static final CompressQuality LOW
public static final CompressQuality MEDIUM
public static final CompressQuality HIGH
public static final CompressQuality MAXIMUM
public static final CompressQuality LOSSLESS
public static CompressQuality[] values()
for (CompressQuality c : CompressQuality.values()) System.out.println(c);
public static CompressQuality valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null