Package com.datalogics.PDFL
Enum Class CompressionType
- All Implemented Interfaces:
Serializable,Comparable<CompressionType>,Constable
Enumerator used to select type of compression used when images are recompressed.
For color or grayscale images: Flate, JPEG or JPEG2000 may be selected. For black and white images: Flate, JBIG2, CCITTG3, or CCITTG4 may be selected.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRecompress with CCITTG3.Recompress with CCITTG4.Recompress with Flate compression.Recompress with FlateJpeg.Recompress with JBIG2.Recompress using JPEG2000.Recompress with JPEG.Do not replace compression type.Recompress with the same compression. -
Method Summary
Modifier and TypeMethodDescriptionstatic CompressionTypeReturns the enum constant of this class with the specified name.static CompressionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NO_COMPRESSION
Do not replace compression type. -
SAME_COMPRESSION
Recompress with the same compression. -
FLATE_COMPRESSION
Recompress with Flate compression. -
JPEGCOMPRESSION
Recompress with JPEG. JPEG quality is set with compression quality. -
JPEG_2000_COMPRESSION
Recompress using JPEG2000. JPEG2000 Quality is set with compression quality. -
JBIG_2COMPRESSION
Recompress with JBIG2. JBIG2 Quality is set with compression quality. -
CCITTG_4COMPRESSION
Recompress with CCITTG4. -
CCITTG_3COMPRESSION
Recompress with CCITTG3. -
FLATE_JPEG_COMPRESSION
Recompress with FlateJpeg.
-
-
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
-