| java.lang.Object org.pdfbox.pdmodel.graphics.predictor.PredictorAlgorithm org.pdfbox.pdmodel.graphics.predictor.Uptimum
Uptimum | public class Uptimum extends PredictorAlgorithm (Code) | | 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.
author: xylifyx@yahoo.co.uk version: $Revision: 1.3 $ |
Method Summary | |
public void | checkBufsiz(byte[] filtered, byte[] raw) | public void | decode(byte[] src, byte[] dest) | public void | decodeLine(byte[] src, byte[] dest, int srcDy, int srcOffset, int destDy, int destOffset) | public void | encode(byte[] src, byte[] dest) | public void | encodeLine(byte[] src, byte[] dest, int srcDy, int srcOffset, int destDy, int destOffset) | public void | setBpp(int bpp) | public void | setHeight(int height) | public void | setWidth(int width) |
checkBufsiz | public void checkBufsiz(byte[] filtered, byte[] raw)(Code) | | |
decode | public void decode(byte[] src, byte[] dest)(Code) | | |
decodeLine | public void decodeLine(byte[] src, byte[] dest, int srcDy, int srcOffset, int destDy, int destOffset)(Code) | | |
encode | public void encode(byte[] src, byte[] dest)(Code) | | |
encodeLine | public void encodeLine(byte[] src, byte[] dest, int srcDy, int srcOffset, int destDy, int destOffset)(Code) | | |
setBpp | public void setBpp(int bpp)(Code) | | |
setHeight | public void setHeight(int height)(Code) | | |
setWidth | public void setWidth(int width)(Code) | | |
Methods inherited from org.pdfbox.pdmodel.graphics.predictor.PredictorAlgorithm | public int aboveLeftPixel(byte[] buf, int offset, int dy, int x)(Code)(Java Doc) public int abovePixel(byte[] buf, int offset, int dy, int x)(Code)(Java Doc) public void checkBufsiz(byte[] src, byte[] dest)(Code)(Java Doc) public void decode(byte[] src, byte[] dest)(Code)(Java Doc) abstract public void decodeLine(byte[] src, byte[] dest, int srcDy, int srcOffset, int destDy, int destOffset)(Code)(Java Doc) public void encode(byte[] src, byte[] dest)(Code)(Java Doc) abstract public void encodeLine(byte[] src, byte[] dest, int srcDy, int srcOffset, int destDy, int destOffset)(Code)(Java Doc) public int getBpp()(Code)(Java Doc) public static PredictorAlgorithm getFilter(int predictor)(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int leftPixel(byte[] buf, int offset, int dy, int x)(Code)(Java Doc) public static void main(String[] args)(Code)(Java Doc) public void setBpp(int newBpp)(Code)(Java Doc) public void setHeight(int newHeight)(Code)(Java Doc) public void setWidth(int newWidth)(Code)(Java Doc)
|
|
|