Skip to main content

Module jpegls

Module jpegls 

Source
Expand description

ITU-T T.87 / ISO 14495-1 JPEG-LS decoder for DICOM Transfer Syntaxes 1.2.840.10008.1.2.4.80 (Lossless) and 1.2.840.10008.1.2.4.81 (Near-Lossless).

Structs§

JpegLsFrameInfo
JpegLsLimits

Enums§

JpegLsError

Constants§

TS_JPEGLS_LOSSLESS
TS_JPEGLS_NEAR_LOSSLESS

Functions§

decode_jpegls_codestream_into
Decode one bare ITU-T T.87 JPEG-LS codestream into caller-owned output bytes (8-bit pixels as 1 byte/sample; 9..16-bit pixels as little-endian u16). Output is never modified if validation or entropy decoding fails. Returns near_max.
decode_jpegls_part10_into
Decode encapsulated DICOM JPEG-LS Part-10 bytes (1.2.840.10008.1.2.4.80 / .81) into output, leaving output untouched on any framing, budget or stream failure.