Skip to main content

Module jpeg

Module jpeg 

Source
Expand description

Baseline (lossy) JPEG decoding for lossy DNG tiles and preview conversion.

Structs§

Decoded8
A decoded 8-bit image.

Functions§

decode
Decode a baseline/progressive JPEG to 8-bit samples, keeping the native colour components (1 for grey, 3 for RGB). The declared dimensions are checked against limits before the decoder allocates its output.
dimensions
Read only the dimensions of a JPEG (SOFn scan), without decoding.