org.pdfbox.pdmodel.graphics.predictor
Class Uptimum
In an Uptimum encoded image, each line takes up width*bpp+1 bytes. The first
byte holds a number that signifies which algorithm encoded the line.
void | checkBufsiz(byte[] filtered, byte[] raw) -
|
void | decode(byte[] src, byte[] dest) -
|
void | decodeLine(byte[] src, byte[] dest, int srcDy, int srcOffset, int destDy, int destOffset) -
|
void | encode(byte[] src, byte[] dest) -
|
void | encodeLine(byte[] src, byte[] dest, int srcDy, int srcOffset, int destDy, int destOffset) -
|
void | setBpp(int bpp) -
|
void | setHeight(int height) -
|
void | setWidth(int width) -
|
aboveLeftPixel , abovePixel , checkBufsiz , decode , decodeLine , encode , encodeLine , getBpp , getFilter , getHeight , getWidth , leftPixel , main , setBpp , setHeight , setWidth |
decodeLine
public void decodeLine(byte[] src,
byte[] dest,
int srcDy,
int srcOffset,
int destDy,
int destOffset)
- decodeLine in interface PredictorAlgorithm
encodeLine
public void encodeLine(byte[] src,
byte[] dest,
int srcDy,
int srcOffset,
int destDy,
int destOffset)
- encodeLine in interface PredictorAlgorithm