com.lowagie.text.pdf.codec
public class TIFFFaxDecoder extends Object
| Field Summary | |
|---|---|
| static short[] | additionalMakeup |
| int | bitPointer |
| static short[] | black |
| int | bytePointer |
| int | changingElemSize |
| int | compression |
| int[] | currChangingElems |
| byte[] | data |
| int | fillBits |
| int | fillOrder |
| static byte[] | flipTable |
| int | h |
| static short[] | initBlack |
| int | lastChangingElement |
| int | oneD |
| int[] | prevChangingElems |
| static int[] | table1 |
| static int[] | table2 |
| static short[] | twoBitBlack |
| static byte[] | twoDCodes |
| int | uncompressedMode |
| int | w |
| static short[] | white |
| Constructor Summary | |
|---|---|
| TIFFFaxDecoder(int fillOrder, int w, int h) | |
| Method Summary | |
|---|---|
| boolean | advancePointer() |
| void | decode1D(byte[] buffer, byte[] compData, int startX, int height) |
| void | decode2D(byte[] buffer, byte[] compData, int startX, int height, long tiffT4Options) |
| int | decodeBlackCodeWord() |
| void | decodeNextScanline(byte[] buffer, int lineOffset, int bitOffset) |
| void | decodeT6(byte[] buffer, byte[] compData, int startX, int height, long tiffT6Options) |
| int | decodeWhiteCodeWord() |
| void | getNextChangingElement(int a0, boolean isWhite, int[] ret) |
| int | nextLesserThan8Bits(int bitsToGet) |
| int | nextNBits(int bitsToGet) |
| int | readEOL(boolean isFirstEOL) |
| static void | reverseBits(byte[] b)
Reverses the bits in the array |
| void | setToBlack(byte[] buffer, int lineOffset, int bitOffset, int numBits) |
| void | updatePointer(int bitsToMoveBack) |
Parameters: fillOrder The fill order of the compressed data bytes. w h
Parameters: b the bits to reverse
Since: 2.0.7