Skip to main content

Module filter

Module filter 

Source
Expand description

Filter chain resolution — maps stream dictionary /Filter and /DecodeParms entries to codec types.

Functions§

extract_filter_params
Extract FilterParams from a /DecodeParms dictionary.
name_to_filter
Map a PDF filter name (including standard abbreviations) to a DecodeFilter.
resolve_filter_chain
Parse the /Filter and /DecodeParms entries from a stream dictionary into a sequence of (DecodeFilter, FilterParams) pairs suitable for rpdfium_codec::apply_filter_chain.