Package com.itextpdf.text.pdf.codec
Class TIFFFaxDecompressor
- java.lang.Object
-
- com.itextpdf.text.pdf.codec.TIFFFaxDecompressor
-
public class TIFFFaxDecompressor extends java.lang.ObjectClass that can decompress TIFF files.- Since:
- 5.0.3
-
-
Field Summary
Fields Modifier and Type Field Description protected intcompressionintfailsprotected intfillBitsEOL padding flag: 1 if fill bits have been added before an EOL such that the EOL ends on a byte boundary, 0 otherwise.protected intfillOrderThe logical order of bits within a byte.protected intoneDCoding dimensionality: 1 for 2-dimensional, 0 for 1-dimensional.protected intuncompressedModeUncompressed mode flag: 1 if uncompressed, 0 if not.
-
Constructor Summary
Constructors Constructor Description TIFFFaxDecompressor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecodeNextScanline()voiddecodeRaw(byte[] buffer, byte[] compData, int w, int h)voiddecodeRLE()voiddecodeT4()voiddecodeT6()voidSetOptions(int fillOrder, int compression, int t4Options, int t6Options)Invokes the superclass method and then sets instance variables on the basis of the metadata set on this decompressor.
-
-
-
Field Detail
-
fillOrder
protected int fillOrder
The logical order of bits within a byte.1 = MSB-to-LSB 2 = LSB-to-MSB (flipped)
-
compression
protected int compression
-
fails
public int fails
-
uncompressedMode
protected int uncompressedMode
Uncompressed mode flag: 1 if uncompressed, 0 if not.
-
fillBits
protected int fillBits
EOL padding flag: 1 if fill bits have been added before an EOL such that the EOL ends on a byte boundary, 0 otherwise.
-
oneD
protected int oneD
Coding dimensionality: 1 for 2-dimensional, 0 for 1-dimensional.
-
-
Method Detail
-
SetOptions
public void SetOptions(int fillOrder, int compression, int t4Options, int t6Options)Invokes the superclass method and then sets instance variables on the basis of the metadata set on this decompressor.
-
decodeRaw
public void decodeRaw(byte[] buffer, byte[] compData, int w, int h)
-
decodeRLE
public void decodeRLE()
-
decodeNextScanline
public void decodeNextScanline()
-
decodeT4
public void decodeT4()
-
decodeT6
public void decodeT6()
-
-