Class TIFFFaxDecompressor


  • public class TIFFFaxDecompressor
    extends Object
    Class that can decompress TIFF files.
    Since:
    5.0.3
    • 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.
    • Constructor Detail

      • TIFFFaxDecompressor

        public TIFFFaxDecompressor()
    • 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()