Package gov.nih.mipav.model.file
Enum libxl.JxlColorProfileTarget
- All Implemented Interfaces:
Serializable,Comparable<libxl.JxlColorProfileTarget>,java.lang.constant.Constable
- Enclosing class:
libxl
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGet the color profile of the pixel data the decoder outputs.Get the color profile of the original image from the metadata. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic libxl.JxlColorProfileTargetReturns the enum constant of this type with the specified name.static libxl.JxlColorProfileTarget[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
JXL_COLOR_PROFILE_TARGET_ORIGINAL
Get the color profile of the original image from the metadata. -
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
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()
-