C# Class MSIT.NGif.LZWEncoder

Mostrar archivo Open project: angelsl/ms-MSIT Class Usage Examples

Public Methods

Method Description
Encode ( Stream os ) : void
LZWEncoder ( byte pixels, int colorDepth ) : System

Private Methods

Method Description
Add ( byte c, Stream outs ) : void
ClearTable ( Stream outs ) : void
Compress ( int initBits, Stream outs ) : void
Flush ( Stream outs ) : void
MaxCode ( int nBitsp ) : int
NextPixel ( ) : int
Output ( int code, Stream outs ) : void
ResetCodeTable ( int hsizep ) : void

Method Details

Encode() public method

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

LZWEncoder() public method

public LZWEncoder ( byte pixels, int colorDepth ) : System
pixels byte
colorDepth int
return System