C# Class uGIF.LZWEncoder

Exibir arquivo Open project: simonwittber/uGIF Class Usage Examples

Public Methods

Method Description
Encode ( Stream os ) : void
LZWEncoder ( int width, int height, byte pixels, int color_depth ) : System

Private Methods

Method Description
Add ( byte c, Stream outs ) : void
ClearTable ( Stream outs ) : void
Compress ( int init_bits, Stream outs ) : void
Flush ( Stream outs ) : void
MaxCode ( int n_bits ) : int
NextPixel ( ) : int
Output ( int code, Stream outs ) : void
ResetCodeTable ( int hsize ) : void

Method Details

Encode() public method

public Encode ( Stream os ) : void
os Stream
return void

LZWEncoder() public method

public LZWEncoder ( int width, int height, byte pixels, int color_depth ) : System
width int
height int
pixels byte
color_depth int
return System