public enum CompressImageType extends java.lang.Enum<CompressImageType>
| Enum Constant and Description |
|---|
BW
Set the value for conversion of Black and White (Monochrome) images.
|
COLOR
Set the values for conversion of Color images.
|
GRAY
Set the value for conversion of Grayscale images.
|
| Modifier and Type | Method and Description |
|---|---|
static CompressImageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompressImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressImageType COLOR
public static final CompressImageType GRAY
public static final CompressImageType BW
public static CompressImageType[] values()
for (CompressImageType c : CompressImageType.values()) System.out.println(c);
public static CompressImageType 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