iText 7 7.1.14 API
iText.IO.Codec.TIFFFaxDecoder Class Reference

Class that can decode TIFF files. More...

Public Member Functions

  TIFFFaxDecoder (int fillOrder, int w, int h)
 
virtual void  Decode1D (byte[] buffer, byte[] compData, int startX, int height)
 
virtual void  DecodeNextScanline (byte[] buffer, int lineOffset, int bitOffset)
 
virtual void  Decode2D (byte[] buffer, byte[] compData, int startX, int height, long tiffT4Options)
 
virtual void  DecodeT6 (byte[] buffer, byte[] compData, int startX, int height, long tiffT6Options)
 
virtual void  SetRecoverFromImageError (bool recoverFromImageError)
 

Static Public Member Functions

static void  ReverseBits (byte[] b)
  Reverses the bits in the array More...
 

Static Public Attributes

static byte[]  flipTable
 
static short[]  additionalMakeup
 

Detailed Description

Class that can decode TIFF files.

Constructor & Destructor Documentation

◆ TIFFFaxDecoder()

iText.IO.Codec.TIFFFaxDecoder.TIFFFaxDecoder ( int  fillOrder,
int  w,
int  h 
)
inline
Parameters
fillOrder The fill order of the compressed data bytes.
w width
h height

Member Function Documentation

◆ ReverseBits()

static void iText.IO.Codec.TIFFFaxDecoder.ReverseBits ( byte[]  b )
inlinestatic

Reverses the bits in the array

Parameters
b the bits to reverse

Member Data Documentation

◆ additionalMakeup

short [] iText.IO.Codec.TIFFFaxDecoder.additionalMakeup
static
Initial value:
= new short[] { 28679, 28679, 31752, -32759, -31735, -30711, -29687
, -28663, 29703, 29703, 30727, 30727, -27639, -26615, -25591, -24567 }