Class TIFFFaxDecoder


  • public class TIFFFaxDecoder
    extends java.lang.Object
    Class that can decode TIFF files.
    • Constructor Summary

      Constructors 
      Constructor Description
      TIFFFaxDecoder​(long fillOrder, int w, int h)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decode1D​(byte[] buffer, byte[] compData, int startX, int height)  
      void decode2D​(byte[] buffer, byte[] compData, int startX, int height, long tiffT4Options)  
      void decodeNextScanline​(byte[] buffer, int lineOffset, int bitOffset)  
      void decodeT6​(byte[] buffer, byte[] compData, int startX, int height, long tiffT6Options)  
      static void reverseBits​(byte[] b)
      Reverses the bits in the array
      void setRecoverFromImageError​(boolean recoverFromImageError)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TIFFFaxDecoder

        public TIFFFaxDecoder​(long fillOrder,
                              int w,
                              int h)
        Parameters:
        fillOrder - The fill order of the compressed data bytes.
        w -
        h -
    • Method Detail

      • reverseBits

        public static void reverseBits​(byte[] b)
        Reverses the bits in the array
        Parameters:
        b - the bits to reverse
        Since:
        2.0.7
      • decode1D

        public void decode1D​(byte[] buffer,
                             byte[] compData,
                             int startX,
                             int height)
      • decodeNextScanline

        public void decodeNextScanline​(byte[] buffer,
                                       int lineOffset,
                                       int bitOffset)
      • decode2D

        public void decode2D​(byte[] buffer,
                             byte[] compData,
                             int startX,
                             int height,
                             long tiffT4Options)
      • decodeT6

        public void decodeT6​(byte[] buffer,
                             byte[] compData,
                             int startX,
                             int height,
                             long tiffT6Options)
      • setRecoverFromImageError

        public void setRecoverFromImageError​(boolean recoverFromImageError)