Expand description
Stream filters (§7.4): Flate, LZW, ASCIIHex, ASCII85, RunLength and the predictor functions that Flate/LZW payloads may be wrapped in.
Decoding is pure: decode_chain takes bytes and returns bytes, so a
filter can be tested without a document. Resolving indirect /Filter,
/DecodeParms or /Length entries is crate::Document’s job.
Structs§
- Filter
Spec - One entry of the filter chain: the filter plus its
/DecodeParms. - Predictor
/DecodeParmspredictor settings, with the defaults from §7.4.4.4.
Enums§
- Filter
- A filter named by
/Filter.
Functions§
- decode_
chain - Apply a filter chain in order: the first
/Filteris the outermost. - decode_
filter - Apply one filter, then its predictor when the filter has one.