Enum Class VipsForeignTiffPredictor

java.lang.Object
java.lang.Enum<VipsForeignTiffPredictor>
app.photofox.vipsffm.enums.VipsForeignTiffPredictor
All Implemented Interfaces:
VEnum, VNamedEnum, Serializable, Comparable<VipsForeignTiffPredictor>, Constable

public enum VipsForeignTiffPredictor extends Enum<VipsForeignTiffPredictor> implements VNamedEnum

The predictor can help deflate and lzw compression. The values are fixed by the tiff library.

  • Enum Constant Details

    • FOREIGN_TIFF_PREDICTOR_NONE

      public static final VipsForeignTiffPredictor FOREIGN_TIFF_PREDICTOR_NONE

      no prediction

    • FOREIGN_TIFF_PREDICTOR_HORIZONTAL

      public static final VipsForeignTiffPredictor FOREIGN_TIFF_PREDICTOR_HORIZONTAL

      horizontal differencing

    • FOREIGN_TIFF_PREDICTOR_FLOAT

      public static final VipsForeignTiffPredictor FOREIGN_TIFF_PREDICTOR_FLOAT

      float predictor

    • FOREIGN_TIFF_PREDICTOR_LAST

      public static final VipsForeignTiffPredictor FOREIGN_TIFF_PREDICTOR_LAST
  • Field Details

  • Method Details

    • values

      public static VipsForeignTiffPredictor[] 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 VipsForeignTiffPredictor 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
    • getName

      public String getName()
      Specified by:
      getName in interface VNamedEnum
    • getNickname

      public String getNickname()
      Specified by:
      getNickname in interface VNamedEnum
    • getRawValue

      public int getRawValue()
      Specified by:
      getRawValue in interface VEnum