C# Class MSIT.NGif.GifEncoder

Show file Open project: angelsl/ms-MSIT Class Usage Examples

Public Methods

Method Description
AddFrame ( Image im ) : bool
Finish ( ) : bool
SetDelay ( int ms ) : void
SetDispose ( int code ) : void
SetQuality ( int quality ) : void
SetRepeat ( int iter ) : void
SetTransparent ( Color c ) : void
Start ( String file ) : bool

Private Methods

Method Description
AnalyzePixels ( ) : void
FindClosest ( Color c ) : int
GetImagePixels ( ) : void
SetSize ( int w, int h ) : void
Start ( FileStream os ) : bool
WriteGraphicCtrlExt ( ) : void
WriteImageDesc ( ) : void
WriteLSD ( ) : void
WriteNetscapeExt ( ) : void
WritePalette ( ) : void
WritePixels ( ) : void
WriteShort ( int value ) : void
WriteString ( String s ) : void

Method Details

AddFrame() public method

public AddFrame ( Image im ) : bool
im Image
return bool

Finish() public method

public Finish ( ) : bool
return bool

SetDelay() public method

public SetDelay ( int ms ) : void
ms int
return void

SetDispose() public method

public SetDispose ( int code ) : void
code int
return void

SetQuality() public method

public SetQuality ( int quality ) : void
quality int
return void

SetRepeat() public method

public SetRepeat ( int iter ) : void
iter int
return void

SetTransparent() public method

public SetTransparent ( Color c ) : void
c Color
return void

Start() public method

public Start ( String file ) : bool
file String
return bool