Enum libxl.JxlEncoderError

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

static enum libxl.JxlEncoderError extends Enum<libxl.JxlEncoderError>
Error conditions: API usage errors have the 0x80 bit set to 1 Other errors have the 0x80 bit set to 0
  • Enum Constant Details

    • JXL_ENC_ERR_OK

      public static final libxl.JxlEncoderError JXL_ENC_ERR_OK
      No error
    • JXL_ENC_ERR_GENERIC

      public static final libxl.JxlEncoderError JXL_ENC_ERR_GENERIC
      Generic encoder error due to unspecified cause
    • JXL_ENC_ERR_OOM

      public static final libxl.JxlEncoderError JXL_ENC_ERR_OOM
      Out of memory TODO(jon): actually catch this and return this error
    • JXL_ENC_ERR_JBRD

      public static final libxl.JxlEncoderError JXL_ENC_ERR_JBRD
      JPEG bitstream reconstruction data could not be represented (e.g. too much tail data)
    • JXL_ENC_ERR_BAD_INPUT

      public static final libxl.JxlEncoderError JXL_ENC_ERR_BAD_INPUT
      Input is invalid (e.g. corrupt JPEG file or ICC profile)
    • JXL_ENC_ERR_NOT_SUPPORTED

      public static final libxl.JxlEncoderError JXL_ENC_ERR_NOT_SUPPORTED
      The encoder doesn't (yet) support this. Either no version of libjxl supports this, and the API is used incorrectly, or the libjxl version should have been checked before trying to do this.
    • JXL_ENC_ERR_API_USAGE

      public static final libxl.JxlEncoderError JXL_ENC_ERR_API_USAGE
      The encoder API is used in an incorrect way. In this case, a debug build of libjxl should output a specific error message. (if not, please open an issue about it)
  • Field Details

    • numVal

      private final int numVal
  • Constructor Details

    • JxlEncoderError

      private JxlEncoderError(int numVal)
  • Method Details

    • values

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