Skip to main content
Skip table of contents

TIFFLZWDecoder

TIFFLZWDecoder Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf.codec
  iTextSharp.text.pdf.codec.TIFFLZWDecoder[[TIFFLZWDecoder]]
  end

Members

Methods

Public methods
ReturnsName
voidAddStringToTable(...)
byte``[]ComposeString(byte``[] oldString, byte newString)
byte``[]Decode(byte``[] data, byte``[] uncompData, int h)
intGetNextCode()
voidInitializeStringTable()
voidWriteString(byte``[] strn)

Details

Constructors

TIFFLZWDecoder
Source code
public TIFFLZWDecoder(int w, int predictor, int samplesPerPixel)
Arguments
TypeNameDescription
intw
intpredictor
intsamplesPerPixel

Methods

Decode
Source code
public virtual byte Decode(byte[] data, byte[] uncompData, int h)
Arguments
TypeNameDescription
byte``[]data
byte``[]uncompData
inth
InitializeStringTable
Source code
public virtual void InitializeStringTable()
WriteString
Source code
public virtual void WriteString(byte[] strn)
Arguments
TypeNameDescription
byte``[]strn
AddStringToTable [1/2]
Source code
public virtual void AddStringToTable(byte[] oldString, byte newString)
Arguments
TypeNameDescription
byte``[]oldString
bytenewString
AddStringToTable [2/2]
Source code
public virtual void AddStringToTable(byte[] strn)
Arguments
TypeNameDescription
byte``[]strn
ComposeString
Source code
public virtual byte ComposeString(byte[] oldString, byte newString)
Arguments
TypeNameDescription
byte``[]oldString
bytenewString
GetNextCode
Source code
public virtual int GetNextCode()

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.