Package io.scanbot.sdk.tiffgeneration
Enum Class CompressionMode
- All Implemented Interfaces:
Serializable,Comparable<CompressionMode>,Constable
TIFF compression type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeflate compression, as recognized by Adobe.CCITT T.4 (CCITTFAX3, CCITT Group 3 fax encoding, TIFF 6 name).CCITT T.6 (CCITTFAX4, CCITT Group 4 fax encoding, TIFF 6 name).CCITT modified Huffman RLE.#1 w/ word alignment.Deflate compression.%JPEG DCT compression.Lempel-Ziv and Welch.Dump mode.Macintosh RLE. -
Method Summary
Modifier and TypeMethodDescriptionstatic CompressionModeReturns the enum constant of this class with the specified name.static CompressionMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Dump mode. -
CCITTRLE
CCITT modified Huffman RLE. For binarized images only. -
CCITT_T4
CCITT T.4 (CCITTFAX3, CCITT Group 3 fax encoding, TIFF 6 name). For binarized images only. -
CCITT_T6
CCITT T.6 (CCITTFAX4, CCITT Group 4 fax encoding, TIFF 6 name). For binarized images only. -
LZW
Lempel-Ziv and Welch. -
JPEG
%JPEG DCT compression. -
CCITTRLEW
#1 w/ word alignment. For binarized images only. -
PACKBITS
Macintosh RLE. -
DEFLATE
Deflate compression. Legacy Deflate codec identifier. -
ADOBE_DEFLATE
Deflate compression, as recognized by Adobe. More widely supported.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-