Enum libxl.JxlDataType

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

static enum libxl.JxlDataType extends Enum<libxl.JxlDataType>
Data type for the sample values per channel per pixel.
  • Enum Constant Details

    • JXL_TYPE_FLOAT

      public static final libxl.JxlDataType JXL_TYPE_FLOAT
      Use 32-bit single-precision floating point values, with range 0.0-1.0 (within gamut, may go outside this range for wide color gamut). Floating point output, either ::JXL_TYPE_FLOAT or ::JXL_TYPE_FLOAT16, is recommended for HDR and wide gamut images when color profile conversion is required.
    • JXL_TYPE_UINT8

      public static final libxl.JxlDataType JXL_TYPE_UINT8
      Use type uint8_t. May clip wide color gamut data.
    • JXL_TYPE_UINT16

      public static final libxl.JxlDataType JXL_TYPE_UINT16
      Use type uint16_t. May clip wide color gamut data.
    • JXL_TYPE_FLOAT16

      public static final libxl.JxlDataType JXL_TYPE_FLOAT16
      Use 16-bit IEEE 754 half-precision floating point values
  • Field Details

    • numVal

      private final int numVal
  • Constructor Details

    • JxlDataType

      private JxlDataType(int numVal)
  • Method Details

    • values

      public static libxl.JxlDataType[] 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.JxlDataType 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()