Package gov.nih.mipav.model.file
Class libxl.JxlLayerInfo
java.lang.Object
gov.nih.mipav.model.file.libxl.JxlLayerInfo
- Enclosing class:
libxl
The information about layers.
When decoding, if coalescing is enabled (default), this can be ignored.
When encoding, these settings apply to the pixel data given to the encoder,
the encoder could choose an internal representation that differs.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) libxl.JxlBlendInfoThe blending info for the color channels.(package private) intHorizontal offset of the frame (can be negative).(package private) intVertical offset of the frame (can be negative).(package private) booleanWhether cropping is applied for this frame.(package private) intAfter blending, save the frame as reference frame with this ID (0-3).(package private) intWidth of the frame (number of columns).(package private) intHeight of the frame (number of rows). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
have_crop
boolean have_cropWhether cropping is applied for this frame. When decoding, if false, crop_x0 and crop_y0 are set to zero, and xsize and ysize to the main image dimensions. When encoding and this is false, those fields are ignored. When decoding, if coalescing is enabled (default), this is always false, regardless of the internal encoding in the JPEG XL codestream. -
crop_x0
int crop_x0Horizontal offset of the frame (can be negative). -
crop_y0
int crop_y0Vertical offset of the frame (can be negative). -
xsize
int xsizeWidth of the frame (number of columns). -
ysize
int ysizeHeight of the frame (number of rows). -
blend_info
libxl.JxlBlendInfo blend_infoThe blending info for the color channels. Blending info for extra channels has to be retrieved separately using JxlDecoderGetExtraChannelBlendInfo. -
save_as_reference
int save_as_referenceAfter blending, save the frame as reference frame with this ID (0-3). Special case: if the frame duration is nonzero, ID 0 means "will not be referenced in the future". This value is not used for the last frame. When encoding, ID 3 is reserved to frames that are generated internally by the encoder, and should not be used by applications.
-
-
Constructor Details
-
JxlLayerInfo
JxlLayerInfo()
-