Package | Description |
---|---|
org.apache.pdfbox.pdmodel.graphics.predictor |
The predictor package contains code for different PNG predictor algorithms that
are present in PDF documents.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Average |
We can use raw on the right hand side of
the decoding formula because it is already decoded.
|
class |
None |
The none algorithm.
|
class |
Optimum |
In an Uptimum encoded image, each line takes up width*bpp+1 bytes.
|
class |
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.
|
class |
Sub |
The sub algorithm.
|
class |
Up |
The up algorithm.
|
Modifier and Type | Method | Description |
---|---|---|
static PredictorAlgorithm |
PredictorAlgorithm.getFilter(int predictor) |