Enum Class CompressImageType

java.lang.Object
java.lang.Enum<CompressImageType>
com.datalogics.PDFL.CompressImageType
All Implemented Interfaces:
Serializable, Comparable<CompressImageType>, Constable

public enum CompressImageType extends Enum<CompressImageType>
Enumerator to allow the selection of image type to Set the values for resampling and recompression.
  • Enum Constant Details

    • COLOR

      public static final CompressImageType COLOR
      Set the values for conversion of Color images.
    • GRAY

      public static final CompressImageType GRAY
      Set the value for conversion of Grayscale images.
    • BW

      public static final CompressImageType BW
      Set the value for conversion of Black and White (Monochrome) images.
  • Method Details

    • values

      public static CompressImageType[] 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

      public static CompressImageType valueOf(String name)
      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 name
      NullPointerException - if the argument is null