Enum libxl.JxlWhitePoint

java.lang.Object
java.lang.Enum<libxl.JxlWhitePoint>
gov.nih.mipav.model.file.libxl.JxlWhitePoint
All Implemented Interfaces:
Serializable, Comparable<libxl.JxlWhitePoint>, java.lang.constant.Constable
Enclosing class:
libxl

static enum libxl.JxlWhitePoint extends Enum<libxl.JxlWhitePoint>
Built-in white points for color encoding. When decoding, the numerical xy white point value can be read from the @ref JxlColorEncoding white_point field regardless of the enum value. When encoding, enum values except ::JXL_WHITE_POINT_CUSTOM override the numerical fields. Some enum values match a subset of CICP (Rec. ITU-T H.273 | ISO/IEC 23091-2:2019(E)), however the white point and RGB primaries are separate enums here.
  • Enum Constant Details

    • JXL_WHITE_POINT_D65

      public static final libxl.JxlWhitePoint JXL_WHITE_POINT_D65
      CIE Standard Illuminant D65: 0.3127, 0.3290
    • JXL_WHITE_POINT_CUSTOM

      public static final libxl.JxlWhitePoint JXL_WHITE_POINT_CUSTOM
      White point must be read from the @ref JxlColorEncoding white_point field, or as ICC profile. This enum value is not an exact match of the corresponding CICP value.
    • JXL_WHITE_POINT_E

      public static final libxl.JxlWhitePoint JXL_WHITE_POINT_E
      CIE Standard Illuminant E (equal-energy): 1/3, 1/3
    • JXL_WHITE_POINT_DCI

      public static final libxl.JxlWhitePoint JXL_WHITE_POINT_DCI
      DCI-P3 from SMPTE RP 431-2: 0.314, 0.351
  • Field Details

    • numVal

      private final int numVal
  • Constructor Details

    • JxlWhitePoint

      private JxlWhitePoint(int numVal)
  • Method Details

    • values

      public static libxl.JxlWhitePoint[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static libxl.JxlWhitePoint valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumVal

      public int getNumVal()