public enum TIFFCompressionMode extends java.lang.Enum<TIFFCompressionMode>
This enumeration represents the TIFF compression mode.
Enum Constant and Description |
---|
ADOBE_DEFLATE |
CCITTFAX3 |
CCITTFAX4 |
CCITTRLE |
DEFLATE |
JPEG |
LZW |
NONE |
PACKBITS |
Modifier and Type | Method and Description |
---|---|
static TIFFCompressionMode |
fromInteger(int value)
Converts an integer to a TIFFCompressionMode.
|
int |
value()
Gets the enumaration object value.
|
static TIFFCompressionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TIFFCompressionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TIFFCompressionMode NONE
public static final TIFFCompressionMode LZW
public static final TIFFCompressionMode PACKBITS
public static final TIFFCompressionMode JPEG
public static final TIFFCompressionMode CCITTRLE
public static final TIFFCompressionMode CCITTFAX3
public static final TIFFCompressionMode CCITTFAX4
public static final TIFFCompressionMode DEFLATE
public static final TIFFCompressionMode ADOBE_DEFLATE
public static TIFFCompressionMode[] values()
for (TIFFCompressionMode c : TIFFCompressionMode.values()) System.out.println(c);
public static TIFFCompressionMode 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 nullpublic int value()
Gets the enumaration object value.
public static TIFFCompressionMode fromInteger(int value)
Converts an integer to a TIFFCompressionMode.
value
-