PdfPredictorFunction Enum
Represents a predictor function that can be applied to PdfLZWDecodeFilter or PdfFlateDecodeFilter data to make the encoded data more compact.
Remarks
PdfLZWDecodeFilter and PdfFlateDecodeFilter encoding compress more compactly if their input data is highly predictable. One way of increasing the predictability of many continuous-tone sampled images is to replace each sample with the difference between that sample and a PdfPredictorFunction applied to earlier neighboring samples. If the PdfPredictorFunction works well, the post prediction data clusters toward 0.
Fields
None | No prediction (the default value). |
PNGAverageOnAllRows | PNG prediction (on encoding, PNG Average on all rows). |
PNGNoneOnAllRows | PNG prediction (on encoding, PNG None on all rows). |
PNGOptimum | PNG prediction (on encoding, PNG optimum). |
PNGPaethOnAllRows | PNG prediction (on encoding, PNG Paeth on all rows). |
PNGSubOnAllRows | PNG prediction (on encoding, PNG Sub on all rows). |
PNGUpOnAllRows | PNG prediction (on encoding, PNG Up on all rows). |
TIFF2 | TIFF Predictor 2. |
Unknown | Prediction algorithm is unknown. |