Package gov.nih.mipav.model.file
Class libxl.ExtraChanelInfo
java.lang.Object
gov.nih.mipav.model.file.libxl.ExtraChanelInfo
- Enclosing class:
libxl
Information for a single extra channel.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) booleanWhether alpha channel uses premultiplied alpha.(package private) intTotal bits per sample for this channel.(package private) intOnly applicable if type is JXL_CHANNEL_CFA.(package private) intThe exponent the channel is downsampled by on each axis.(package private) intFloating point exponent bits per channel, or 0 if they are unsigned integer.(package private) intLength of the extra channel name in bytes, or 0 if no name.(package private) float[]Spot color of the current spot channel in linear RGBA.(package private) libxl.JxlExtraChannelTypeGiven type of an extra channel. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
Given type of an extra channel. -
bits_per_sample
int bits_per_sampleTotal bits per sample for this channel. -
exponent_bits_per_sample
int exponent_bits_per_sampleFloating point exponent bits per channel, or 0 if they are unsigned integer. -
dim_shift
int dim_shiftThe exponent the channel is downsampled by on each axis. TODO(lode): expand this comment to match the JPEG XL specification, specify how to upscale, how to round the size computation, and to which extra channels this field applies. -
name_length
int name_lengthLength of the extra channel name in bytes, or 0 if no name. Excludes null termination character. -
alpha_premultiplied
boolean alpha_premultipliedWhether alpha channel uses premultiplied alpha. Only applicable if type is JXL_CHANNEL_ALPHA. -
spot_color
float[] spot_colorSpot color of the current spot channel in linear RGBA. Only applicable if type is JXL_CHANNEL_SPOT_COLOR. -
cfa_channel
int cfa_channelOnly applicable if type is JXL_CHANNEL_CFA. TODO(lode): add comment about the meaning of this field.
-
-
Constructor Details
-
ExtraChanelInfo
ExtraChanelInfo()
-