Package gov.nih.mipav.model.file
Class libxl.JxlPixelFormat
java.lang.Object
gov.nih.mipav.model.file.libxl.JxlPixelFormat
- Enclosing class:
libxl
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) intAlign scanlines to a multiple of align bytes, or 0 to require no alignment at all (which has the same effect as value 1)(package private) libxl.JxlDataTypeData type of each channel.(package private) libxl.JxlEndiannessWhether multi-byte data types are represented in big endian or little endian format.(package private) intAmount of channels available in a pixel buffer. 1: single-channel data, e.g. grayscale or a single extra channel 2: single-channel + alpha 3: trichromatic, e.g. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
num_channels
int num_channelsAmount of channels available in a pixel buffer. 1: single-channel data, e.g. grayscale or a single extra channel 2: single-channel + alpha 3: trichromatic, e.g. RGB 4: trichromatic + alpha TODO(lode): this needs finetuning. It is not yet defined how the user chooses output color space. CMYK+alpha needs 5 channels. -
data_type
libxl.JxlDataType data_typeData type of each channel. -
endianness
libxl.JxlEndianness endiannessWhether multi-byte data types are represented in big endian or little endian format. This applies to ::JXL_TYPE_UINT16 and ::JXL_TYPE_FLOAT. -
align
int alignAlign scanlines to a multiple of align bytes, or 0 to require no alignment at all (which has the same effect as value 1)
-
-
Constructor Details
-
JxlPixelFormat
JxlPixelFormat()
-