Convert TIFF LZW to CCITT

微笑、不失礼 提交于 2019-12-22 08:12:47

问题


This is a question about TIFF and compression. I have hundreds of LZW compressed tiff images. I wonder, is it possible to convert those to CCITT T.6? Is there some API? Please help.


回答1:


LZW compression can be used to compress almost any image. CCITT T.6 can compress only bilevel (black and white) images.

If your images are bilevel ones and they are compressed with LZW compression then you can recompress them using tiffcp utility (comes with LibTiff.Net library, free, source code available).

If your images are full-color ones then you will have to convert them to bilevel first. One of my answers contains sample code for such conversion.



来源:https://stackoverflow.com/questions/16319508/convert-tiff-lzw-to-ccitt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!