Class TIFFFaxDecompressor


  • public class TIFFFaxDecompressor
    extends java.lang.Object
    Class that can decompress TIFF files.
    Since:
    5.0.3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int compression  
      int fails  
      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.
      protected int fillOrder
      The logical order of bits within a byte.
      protected int oneD
      Coding dimensionality: 1 for 2-dimensional, 0 for 1-dimensional.
      protected int uncompressedMode
      Uncompressed mode flag: 1 if uncompressed, 0 if not.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decodeNextScanline()  
      void decodeRaw​(byte[] buffer, byte[] compData, int w, int h)  
      void decodeRLE()  
      void decodeT4()  
      void decodeT6()  
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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()