Package gov.nih.mipav.model.file
Enum libxl.JxlColorSpace
- All Implemented Interfaces:
Serializable,Comparable<libxl.JxlColorSpace>,java.lang.constant.Constable
- Enclosing class:
libxl
Color space of the image data.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLuminance based, the primaries in @ref JxlColorEncoding must be ignored.Tristimulus RGBNone of the other table entries describe the color space appropriatelyXYB (opsin) color space -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic libxl.JxlColorSpaceReturns the enum constant of this type with the specified name.static libxl.JxlColorSpace[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
JXL_COLOR_SPACE_RGB
Tristimulus RGB -
JXL_COLOR_SPACE_GRAY
Luminance based, the primaries in @ref JxlColorEncoding must be ignored. This value implies that num_color_channels in @ref JxlBasicInfo is 1, any other value implies num_color_channels is 3. -
JXL_COLOR_SPACE_XYB
XYB (opsin) color space -
JXL_COLOR_SPACE_UNKNOWN
None of the other table entries describe the color space appropriately
-
-
Constructor Details
-
JxlColorSpace
private JxlColorSpace()
-
-
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
-