java.io.Serializable
, java.lang.Comparable<CompressionValue>
public enum CompressionValue extends java.lang.Enum<CompressionValue>
Enum Constant | Description |
---|---|
DEFLATE |
DEFLATE lossless compression (also known as "Zip-in-TIFF").
|
GROUP3_1D |
Modified Huffman Compression (CCITT Group 3 1D facsimile compression).
|
GROUP3_2D |
CCITT T.4 bilevel compression (CCITT Group 3 2D facsimile compression).
|
GROUP4 |
CCITT T.6 bilevel compression (CCITT Group 4 facsimile compression).
|
JPEG_BROKEN |
Code for original JPEG-in-TIFF compression which has been depricated (for many good reasons)
in favor of Tech Note 2 JPEG compression (compression scheme 7).
|
JPEG_TTN2 |
JPEG-in-TIFF compression.
|
LZW |
LZW compression.
|
NONE |
No compression.
|
PACKBITS |
Byte-oriented run-length encoding "PackBits" compression.
|
Modifier and Type | Method | Description |
---|---|---|
static CompressionValue |
getValue(java.lang.String name) |
Gets the compression value given the name of the compression type.
|
static CompressionValue |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CompressionValue[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionValue NONE
public static final CompressionValue GROUP3_1D
Not currently supported.
public static final CompressionValue GROUP3_2D
Not currently supported.
public static final CompressionValue GROUP4
Not currently supported.
public static final CompressionValue LZW
Not supported.
public static final CompressionValue JPEG_BROKEN
Not supported.
public static final CompressionValue JPEG_TTN2
public static final CompressionValue PACKBITS
public static final CompressionValue DEFLATE
public static CompressionValue[] values()
for (CompressionValue c : CompressionValue.values()) System.out.println(c);
public static CompressionValue 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 static CompressionValue getValue(java.lang.String name)
name
- the compression nameCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.