首页 > 解决方案 > C#解压LZW tif数据

问题描述

我从 Tiff 文件中获得了以下信息。

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)]

所以我认为图像数据的总字节数是 22*256。

如何解压缩新位图的图像数据?任何帮助将不胜感激。

标签: tifflzw

解决方案


推荐阅读