Enum Class VipsInterpretation

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

public enum VipsInterpretation extends Enum<VipsInterpretation> implements VNamedEnum

How the values in an image should be interpreted. For example, a three-band float image of type INTERPRETATION_LAB should have its pixels interpreted as coordinates in CIE Lab space.

RGB and sRGB are treated in the same way. Use the colourspace functions if you want some other behaviour.

The gaps in numbering are historical and must be maintained. Allocate new numbers from the end.

  • Enum Constant Details

    • INTERPRETATION_ERROR

      public static final VipsInterpretation INTERPRETATION_ERROR
    • INTERPRETATION_MULTIBAND

      public static final VipsInterpretation INTERPRETATION_MULTIBAND

      generic many-band image

    • INTERPRETATION_B_W

      public static final VipsInterpretation INTERPRETATION_B_W

      some kind of single-band image

    • INTERPRETATION_HISTOGRAM

      public static final VipsInterpretation INTERPRETATION_HISTOGRAM

      a 1D image, eg. histogram or lookup table

    • INTERPRETATION_XYZ

      public static final VipsInterpretation INTERPRETATION_XYZ

      the first three bands are CIE XYZ

    • INTERPRETATION_LAB

      public static final VipsInterpretation INTERPRETATION_LAB

      pixels are in CIE Lab space

    • INTERPRETATION_CMYK

      public static final VipsInterpretation INTERPRETATION_CMYK

      the first four bands are in CMYK space

    • INTERPRETATION_LABQ

      public static final VipsInterpretation INTERPRETATION_LABQ
    • INTERPRETATION_RGB

      public static final VipsInterpretation INTERPRETATION_RGB

      generic RGB space

    • INTERPRETATION_CMC

      public static final VipsInterpretation INTERPRETATION_CMC

      a uniform colourspace based on CMC(1:1)

    • INTERPRETATION_LCH

      public static final VipsInterpretation INTERPRETATION_LCH

      pixels are in CIE LCh space

    • INTERPRETATION_LABS

      public static final VipsInterpretation INTERPRETATION_LABS

      CIE LAB coded as three signed 16-bit values

    • INTERPRETATION_sRGB

      public static final VipsInterpretation INTERPRETATION_sRGB

      pixels are sRGB

    • INTERPRETATION_YXY

      public static final VipsInterpretation INTERPRETATION_YXY

      pixels are CIE Yxy

    • INTERPRETATION_FOURIER

      public static final VipsInterpretation INTERPRETATION_FOURIER

      image is in fourier space

    • INTERPRETATION_RGB16

      public static final VipsInterpretation INTERPRETATION_RGB16

      generic 16-bit RGB

    • INTERPRETATION_GREY16

      public static final VipsInterpretation INTERPRETATION_GREY16

      generic 16-bit mono

    • INTERPRETATION_MATRIX

      public static final VipsInterpretation INTERPRETATION_MATRIX

      a matrix

    • INTERPRETATION_scRGB

      public static final VipsInterpretation INTERPRETATION_scRGB

      pixels are scRGB

    • INTERPRETATION_HSV

      public static final VipsInterpretation INTERPRETATION_HSV

      pixels are HSV

    • INTERPRETATION_LAST

      public static final VipsInterpretation INTERPRETATION_LAST
  • Field Details

  • Method Details

    • values

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