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 Link icon

    • INTERPRETATION_ERROR Link icon

      public static final VipsInterpretation INTERPRETATION_ERROR
    • INTERPRETATION_MULTIBAND Link icon

      public static final VipsInterpretation INTERPRETATION_MULTIBAND

      generic many-band image

    • INTERPRETATION_B_W Link icon

      public static final VipsInterpretation INTERPRETATION_B_W

      some kind of single-band image

    • INTERPRETATION_HISTOGRAM Link icon

      public static final VipsInterpretation INTERPRETATION_HISTOGRAM

      a 1D image, eg. histogram or lookup table

    • INTERPRETATION_XYZ Link icon

      public static final VipsInterpretation INTERPRETATION_XYZ

      the first three bands are CIE XYZ

    • INTERPRETATION_LAB Link icon

      public static final VipsInterpretation INTERPRETATION_LAB

      pixels are in CIE Lab space

    • INTERPRETATION_CMYK Link icon

      public static final VipsInterpretation INTERPRETATION_CMYK

      the first four bands are in CMYK space

    • INTERPRETATION_LABQ Link icon

      public static final VipsInterpretation INTERPRETATION_LABQ
    • INTERPRETATION_RGB Link icon

      public static final VipsInterpretation INTERPRETATION_RGB

      generic RGB space

    • INTERPRETATION_CMC Link icon

      public static final VipsInterpretation INTERPRETATION_CMC

      a uniform colourspace based on CMC(1:1)

    • INTERPRETATION_LCH Link icon

      public static final VipsInterpretation INTERPRETATION_LCH

      pixels are in CIE LCh space

    • INTERPRETATION_LABS Link icon

      public static final VipsInterpretation INTERPRETATION_LABS

      CIE LAB coded as three signed 16-bit values

    • INTERPRETATION_sRGB Link icon

      public static final VipsInterpretation INTERPRETATION_sRGB

      pixels are sRGB

    • INTERPRETATION_YXY Link icon

      public static final VipsInterpretation INTERPRETATION_YXY

      pixels are CIE Yxy

    • INTERPRETATION_FOURIER Link icon

      public static final VipsInterpretation INTERPRETATION_FOURIER

      image is in fourier space

    • INTERPRETATION_RGB16 Link icon

      public static final VipsInterpretation INTERPRETATION_RGB16

      generic 16-bit RGB

    • INTERPRETATION_GREY16 Link icon

      public static final VipsInterpretation INTERPRETATION_GREY16

      generic 16-bit mono

    • INTERPRETATION_MATRIX Link icon

      public static final VipsInterpretation INTERPRETATION_MATRIX

      a matrix

    • INTERPRETATION_scRGB Link icon

      public static final VipsInterpretation INTERPRETATION_scRGB

      pixels are scRGB

    • INTERPRETATION_HSV Link icon

      public static final VipsInterpretation INTERPRETATION_HSV

      pixels are HSV

    • INTERPRETATION_LAST Link icon

      public static final VipsInterpretation INTERPRETATION_LAST
  • Field Details Link icon

  • Method Details Link icon

    • values Link icon

      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 Link icon

      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 Link icon

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

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

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