Package org.apache.pdfbox.pdmodel.graphics.predictor
The predictor package contains code for different PNG predictor algorithms that
are present in PDF documents. These classes are used internally by PDFBox.
-
Class Summary Class Description Average We can use raw on the right hand side of the decoding formula because it is already decoded.None The none algorithm.Optimum In an Uptimum encoded image, each line takes up width*bpp+1 bytes.Paeth From http://www.w3.org/TR/PNG-Filters.html: The Paeth filter computes a simple linear function of the three neighboring pixels (left, above, upper left), then chooses as predictor the neighboring pixel closest to the computed value.PredictorAlgorithm Implements different PNG predictor algorithms that is used in PDF files.Sub The sub algorithm.Up The up algorithm.