Class TIFFFaxDecoder


  • public final class TIFFFaxDecoder
    extends Object
    CCITT Fax decoder.
    • Constructor Detail

      • TIFFFaxDecoder

        public TIFFFaxDecoder​(int fillOrderValue,
                              int width,
                              int height)
        Parameters:
        fillOrderValue - The fill order of the compressed data bytes.
        width - The width of the image in pixels
        height - The height of the image in pixels
    • Method Detail

      • decode1D

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

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

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

        public void decodeT6​(byte[] buffer,
                             byte[] compData,
                             int startX,
                             int height,
                             long tiffT6Options,
                             boolean encodedByteAlign)
                      throws IOException
        Throws:
        IOException