Enum libxl.JxlColorProfileTarget

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

static enum libxl.JxlColorProfileTarget extends Enum<libxl.JxlColorProfileTarget>
Defines which color profile to get: the profile from the codestream metadata header, which represents the color profile of the original image, or the color profile from the pixel data produced by the decoder. Both are the same if the JxlBasicInfo has uses_original_profile set.
  • Enum Constant Details

    • JXL_COLOR_PROFILE_TARGET_ORIGINAL

      public static final libxl.JxlColorProfileTarget JXL_COLOR_PROFILE_TARGET_ORIGINAL
      Get the color profile of the original image from the metadata.
    • JXL_COLOR_PROFILE_TARGET_DATA

      public static final libxl.JxlColorProfileTarget JXL_COLOR_PROFILE_TARGET_DATA
      Get the color profile of the pixel data the decoder outputs.
  • Field Details

    • numVal

      private final int numVal
  • Constructor Details

    • JxlColorProfileTarget

      private JxlColorProfileTarget(int numVal)
  • Method Details

    • values

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