Skip to main content
Skip table of contents

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
ReturnsName
intGetFrameCount()
int``[]GetFramePosition(int frame)
ImageGetImage(int frame)
int``[]GetLogicalScreen()
Internal methods
ReturnsName
voidProcess(Stream isp)
Protected methods
ReturnsName
boolDecodeImageData()
intReadBlock()
byte``[]ReadColorTable(int bpc)
voidReadContents()
voidReadGraphicControlExt()
voidReadHeader()
voidReadImage()
voidReadLSD()
intReadShort()
voidResetFrame()
voidSetPixel(int x, int y, int v)
voidSkip()
Protected Static methods
ReturnsName
intNewBpc(int bpc)

Details

Nested types

Classes
  • GifFrame

Constructors

GifImage [1/4]

Source code

public GifImage(Uri url)
Arguments
TypeNameDescription
Uriurl
GifImage [2/4]

Source code

public GifImage(string file)
Arguments
TypeNameDescription
stringfile
GifImage [3/4]

Source code

public GifImage(byte[] data)
Arguments
TypeNameDescription
byte``[]data
GifImage [4/4]

Source code

public GifImage(Stream isp)
Arguments
TypeNameDescription
Streamisp

Methods

GetFrameCount

Source code

public virtual int GetFrameCount()
GetImage

Source code

public virtual Image GetImage(int frame)
Arguments
TypeNameDescription
intframe
GetFramePosition

Source code

public virtual int GetFramePosition(int frame)
Arguments
TypeNameDescription
intframe
GetLogicalScreen

Source code

public virtual int GetLogicalScreen()
Process

Source code

internal void Process(Stream isp)
Arguments
TypeNameDescription
Streamisp
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
TypeNameDescription
intbpc
NewBpc

Source code

protected static int NewBpc(int bpc)
Arguments
TypeNameDescription
intbpc
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
TypeNameDescription
intx
inty
intv
ResetFrame

Source code

protected virtual void ResetFrame()
ReadGraphicControlExt

Source code

protected virtual void ReadGraphicControlExt()
Skip

Source code

protected virtual void Skip()

Generated with ModularDoc

JavaScript errors detected

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

If this problem persists, please contact our support.