Skip to main content

Module jxl

Module jxl 

Source
Expand description

ISO/IEC 18181-1 / 18181-2 JPEG-XL decoder for DICOM Transfer Syntaxes 1.2.840.10008.1.2.4.110 (JPEG XL Lossless), 1.2.840.10008.1.2.4.111 (JPEG XL JPEG Recompression), and 1.2.840.10008.1.2.4.112 (JPEG XL).

Re-exports§

pub use jbrd_reconstruct::encode_jbrd_box_from_jpeg;
pub use jbrd_reconstruct::reconstruct_jpeg_from_jbrd;
pub use jbrd_reconstruct::reconstruct_jpeg_from_jxl_container;
pub use jbrd_reconstruct::JbrdExtractedCoeffs;

Modules§

jbrd_reconstruct
ISO/IEC 18181-2 / DICOM .111 (1.2.840.10008.1.2.4.111) byte-exact legacy JPEG bitstream reconstruction from ISOBMFF jbrd boxes and quantized 8x8 DCT coefficients.

Structs§

JxlDecodedCodestream
JxlFrameInfo
JxlImageHeader
JxlLimits

Enums§

JxlEncoding
JxlError
JxlFrameType
JxlTransferFunction

Constants§

TS_JXL
TS_JXL_JPEG_RECOMPRESSION
TS_JXL_LOSSLESS

Functions§

decode_jxl_codestream_into
Decode one bare FF 0A codestream OR ISOBMFF JXL container into output (bits_allocated = 8 | 16). Fails closed leaving output untouched on any error.
decode_jxl_part10_into
Decode encapsulated DICOM Part-10 JPEG-XL Transfer Syntaxes (.110, .111, .112).
extract_jbrd_payload
Validate ISOBMFF JXL container framing and extract the jbrd JPEG reconstruction box payload (.111), failing closed if missing, empty, duplicated, or truncated.