Expand description
IW44 wavelet image decoder — pure-Rust clean-room implementation (phase 2c).
Implements the IW44 progressive wavelet codec used by DjVu BG44, FG44, and TH44 chunks. Each BG44 chunk may carry one or more slices; the ZP coder state persists across all chunks so that progressive refinement works correctly.
§Key public types
Iw44Image— progressive decoder; callIw44Image::decode_chunkfor each BG44/FG44/TH44 chunk, thenIw44Image::to_rgbto obtain an RGB pixmap.Iw44Error— typed error enum (re-exported from this crate).
§Architecture
YCbCr planes are kept separate (y: Vec<i16>, cb: Vec<i16>, cr: Vec<i16>)
until to_rgb() is called. This allows future SIMD processing on each plane
independently. No interleaved buffers exist inside this module.
Structs§
- Iw44
Image - Progressive IW44 wavelet image decoder.
Enums§
- Iw44
Error - IW44 wavelet image decoding errors.