Package gov.nih.mipav.model.file
Enum libxl.JxlDataType
- All Implemented Interfaces:
Serializable,Comparable<libxl.JxlDataType>,java.lang.constant.Constable
- Enclosing class:
libxl
Data type for the sample values per channel per pixel.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse 32-bit single-precision floating point values, with range 0.0-1.0 (within gamut, may go outside this range for wide color gamut).Use 16-bit IEEE 754 half-precision floating point valuesUse type uint16_t.Use type uint8_t. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic libxl.JxlDataTypeReturns the enum constant of this type with the specified name.static libxl.JxlDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
Use type uint8_t. May clip wide color gamut data. -
JXL_TYPE_UINT16
Use type uint16_t. May clip wide color gamut data. -
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
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
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 nameNullPointerException- if the argument is null
-
getNumVal
public int getNumVal()
-