iText 5

GifImage (1)

GifImage 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.GifImage[[GifImage]] end

Members

Methods

Public methods

Returns

Name

int

GetFrameCount

()

int``[]

GetFramePosition

(int frame)

Image

GetImage

(int frame)

int``[]

GetLogicalScreen

()

Internal methods

Returns

Name

void

Process

(Stream isp)

Protected methods

Returns

Name

bool

DecodeImageData

()

int

ReadBlock

()

byte``[]

ReadColorTable

(int bpc)

void

ReadContents

()

void

ReadGraphicControlExt

()

void

ReadHeader

()

void

ReadImage

()

void

ReadLSD

()

int

ReadShort

()

void

ResetFrame

()

void

SetPixel

(int x, int y, int v)

void

Skip

()

Protected Static methods

Returns

Name

int

NewBpc

(int bpc)

Details

Nested types

Classes
  • GifFrame

Constructors

GifImage [1/4]

Source code

public GifImage(Uri url)

Arguments

Type

Name

Description

Uri

url

GifImage [2/4]

Source code

public GifImage(string file)

Arguments

Type

Name

Description

string

file

GifImage [3/4]

Source code

public GifImage(byte[] data)

Arguments

Type

Name

Description

byte``[]

data

GifImage [4/4]

Source code

public GifImage(Stream isp)

Arguments

Type

Name

Description

Stream

isp

Methods

GetFrameCount

Source code

public virtual int GetFrameCount()

GetImage

Source code

public virtual Image GetImage(int frame)

Arguments

Type

Name

Description

int

frame

GetFramePosition

Source code

public virtual int GetFramePosition(int frame)

Arguments

Type

Name

Description

int

frame

GetLogicalScreen

Source code

public virtual int GetLogicalScreen()

Process

Source code

internal void Process(Stream isp)

Arguments

Type

Name

Description

Stream

isp

ReadHeader

Source code

protected virtual void ReadHeader()

ReadLSD

Source code

protected virtual void ReadLSD()

ReadShort

Source code

protected virtual int ReadShort()

ReadBlock

Source code

protected virtual int ReadBlock()

ReadColorTable

Source code

protected virtual byte ReadColorTable(int bpc)

Arguments

Type

Name

Description

int

bpc

NewBpc

Source code

protected static int NewBpc(int bpc)

Arguments

Type

Name

Description

int

bpc

ReadContents

Source code

protected virtual void ReadContents()

ReadImage

Source code

protected virtual void ReadImage()

DecodeImageData

Source code

protected virtual bool DecodeImageData()

SetPixel

Source code

protected virtual void SetPixel(int x, int y, int v)

Arguments

Type

Name

Description

int

x

int

y

int

v

ResetFrame

Source code

protected virtual void ResetFrame()

ReadGraphicControlExt

Source code

protected virtual void ReadGraphicControlExt()

Skip

Source code

protected virtual void Skip()

Generated with ModularDoc