decompress LZW tif data by C#

492 Views Asked by At

I got the following information from Tiff file.

ImageWidth Short 2977
ImageLength Short 5613
BitsPerSample Short 2
Compression Short LZW  
PhotometricInterpretation Short WhiteIsZero
StripOffsets Long [(22)]
SamplesPerPixel Short 1
RowsPerStrip Short 256      
StripByteCounts Long [(22)]

So I think the image data total bytes is 22*256.

How can I decompress the image data for a new bitmap? Any help will be appreciated.

0

There are 0 best solutions below