public enum CompressionCode extends java.lang.Enum<CompressionCode>
| Enum Constant and Description |
|---|
DCT
Discrete Cosine Transform.
|
DEFAULT
Use the default for the output image type.
|
FLATE
Deflate algorithm (PNG only).
|
G3
CCITT Group3 compression.
|
G4
CCITT Group4 compression.
|
LZW
Lempel-Ziv-Welch, valid for TIFF output.
|
NONE
Use no image compression.
|
| Modifier and Type | Method and Description |
|---|---|
static CompressionCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompressionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionCode DEFAULT
public static final CompressionCode NONE
public static final CompressionCode FLATE
public static final CompressionCode LZW
public static final CompressionCode G3
public static final CompressionCode G4
public static final CompressionCode DCT
public static CompressionCode[] values()
for (CompressionCode c : CompressionCode.values()) System.out.println(c);
public static CompressionCode 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