问题
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