Package org.apache.pdfbox.pdmodel.graphics.predictor
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.
-
ClassesClassDescriptionWe can use raw on the right hand side of the decoding formula because it is already decoded.The none algorithm.In an Uptimum encoded image, each line takes up width*bpp+1 bytes.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.Implements different PNG predictor algorithms that is used in PDF files.The sub algorithm.The up algorithm.