C# Класс ImageTools.IO.Gif.LZWDecoder

Uncrompress data using the LZW algorithmus.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DecodePixels ( int width, int height, int dataSize ) : byte[]

Decodes and uncompresses all pixel indices from the stream.

LZWDecoder ( Stream stream ) : System

Initializes a new instance of the LZWDecoder class and sets the stream, where the compressed data should be read from.

Приватные методы

Метод Описание
ReadBlock ( ) : byte[]
ReadBytes ( int length ) : byte[]

Описание методов

DecodePixels() публичный Метод

Decodes and uncompresses all pixel indices from the stream.
public DecodePixels ( int width, int height, int dataSize ) : byte[]
width int The width of the pixel index array.
height int The height of the pixel index array.
dataSize int Size of the data.
Результат byte[]

LZWDecoder() публичный Метод

Initializes a new instance of the LZWDecoder class and sets the stream, where the compressed data should be read from.
is null /// (Nothing in Visual Basic).
public LZWDecoder ( Stream stream ) : System
stream Stream The stream. where to read from.
Результат System