Class CCITTFaxDecoder
java.lang.Object
com.sun.pdfview.decode.CCITTFaxDecoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voiddecodeNextScanline(byte[] buffer, int lineOffset, int bitOffset) voiddecodeT41D(byte[] buffer, byte[] compData, int startX, int height) voiddecodeT42D(byte[] buffer, byte[] compData, int startX, int height) voiddecodeT6(byte[] buffer, byte[] compData, int startX, int height) booleanisAlign()booleanvoidsetAlign(boolean align) voidsetFillBits(boolean fillBits)
-
Constructor Details
-
CCITTFaxDecoder
public CCITTFaxDecoder(int fillOrder, int w, int h) - Parameters:
fillOrder- The fill order of the compressed data bytes.w-h-
-
-
Method Details
-
consumeEOL
protected boolean consumeEOL() -
decodeNextScanline
protected void decodeNextScanline(byte[] buffer, int lineOffset, int bitOffset) -
decodeT41D
public void decodeT41D(byte[] buffer, byte[] compData, int startX, int height) -
decodeT42D
public void decodeT42D(byte[] buffer, byte[] compData, int startX, int height) -
decodeT6
public void decodeT6(byte[] buffer, byte[] compData, int startX, int height) -
isAlign
public boolean isAlign() -
isFillBits
public boolean isFillBits() -
setAlign
public void setAlign(boolean align) -
setFillBits
public void setFillBits(boolean fillBits)
-