public enum CompressionType extends Enum<CompressionType>
Used to specify the parameter value passed to a Tiff image device.
Enum Constant and Description |
---|
CCITT3
Specifies the CCITT3 compression scheme.
|
CCITT4
Specifies the CCITT4 compression scheme.
|
LZW
Specifies the LZW compression scheme.
|
None
Specifies no compression.
|
RLE
Specifies the RLE compression scheme.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static CompressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionType LZW
Specifies the LZW compression scheme. Can be passed to the Tiff encoder as a parameter that belongs to the Compression category.
public static final CompressionType CCITT4
Specifies the CCITT4 compression scheme. Can be passed to the CCITT4 encoder as a parameter that belongs to the Compression category.
public static final CompressionType CCITT3
Specifies the CCITT3 compression scheme. Can be passed to the CCITT3 encoder as a parameter that belongs to the Compression category.
public static final CompressionType RLE
Specifies the RLE compression scheme. Can be passed to the RLE encoder as a parameter that belongs to the Compression category.
public static final CompressionType None
Specifies no compression. Can be passed to the Tiff encoder as a parameter that belongs to the compression category.
public static CompressionType[] values()
for (CompressionType c : CompressionType.values()) System.out.println(c);
public static CompressionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2025 Aspose. All Rights Reserved.