Expand description
JPEG scan data encoding and decoding.
Decodes entropy-coded scan data into DctGrids (one per component)
and re-encodes modified grids back to entropy-coded bytes. Handles
interleaved MCU ordering, restart markers, and DC prediction.
Structs§
- Scan
Component - Component selector for one scan component.
Constants§
- JPEG_
WRITE_ STEPS - Encode scan data with optional per-row progress callback.
Functions§
- decode_
progressive_ scan - Decode a single progressive scan into existing DctGrids.
- decode_
scan - Decode the entropy-coded scan data into DctGrids.
- encode_
scan - Encode DctGrids back to entropy-coded scan data.
- encode_
scan_ with_ progress