iText 5

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

Returns

Name

void

AddStringToTable

(...)

byte``[]

ComposeString

(byte``[] oldString, byte newString)

byte``[]

Decode

(byte``[] data, byte``[] uncompData, int h)

int

GetNextCode

()

void

InitializeStringTable

()

void

WriteString

(byte``[] strn)

Details

Constructors

TIFFLZWDecoder

Source code

public TIFFLZWDecoder(int w, int predictor, int samplesPerPixel)

Arguments

Type

Name

Description

int

w

int

predictor

int

samplesPerPixel

Methods

Decode

Source code

public virtual byte Decode(byte[] data, byte[] uncompData, int h)

Arguments

Type

Name

Description

byte``[]

data

byte``[]

uncompData

int

h

InitializeStringTable

Source code

public virtual void InitializeStringTable()

WriteString

Source code

public virtual void WriteString(byte[] strn)

Arguments

Type

Name

Description

byte``[]

strn

AddStringToTable [1/2]

Source code

public virtual void AddStringToTable(byte[] oldString, byte newString)

Arguments

Type

Name

Description

byte``[]

oldString

byte

newString

AddStringToTable [2/2]

Source code

public virtual void AddStringToTable(byte[] strn)

Arguments

Type

Name

Description

byte``[]

strn

ComposeString

Source code

public virtual byte ComposeString(byte[] oldString, byte newString)

Arguments

Type

Name

Description

byte``[]

oldString

byte

newString

GetNextCode

Source code

public virtual int GetNextCode()

Generated with ModularDoc