Overview
PNG Filtering is a compression method that reduces data size through coding, prediction, transform, or dictionary structure. It works best when the data matches the model, code table, predictor, or transform being used.
PNG Filtering reduces data size using coding, prediction, dictionary, or transform structure.
Compact metadata for implementation and discovery.
PNG Filtering is a compression method that reduces data size through coding, prediction, transform, or dictionary structure. It works best when the data matches the model, code table, predictor, or transform being used.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n)
Worst
O(n log n)
Space
O(n)
residual = pixel - predictor(left, up, upper_left)Encodes prediction residuals so later compression sees smaller values.
Show symbols being mapped into codes, dictionary entries, residuals, or transform coefficients.
PNG Filtering operates in O(n) time and O(n) space within the Compression family. Key governing relation: residual = pixel - predictor(left, up, upper_left). Often compared with Huffman Coding and LZ77.
What each reference supports for this entry.
PNG specification section for scanline filter types and reconstruction rules.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
PNG Filtering uses a different compression model or code representation than Huffman Coding.