TIFF转换为LZW CCITT [英] Convert TIFF LZW to CCITT
问题描述
这是一个关于TIFF和压缩的问题。我有上百个LZW压缩的TIFF图像。我想知道,是否有可能转换那些CCITT T.6?有一些API?请帮助。
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.
推荐答案
LZW压缩可以用来压缩几乎任何图像。 CCITT T.6可以只压缩双层(黑白)图像。
LZW compression can be used to compress almost any image. CCITT T.6 can compress only bilevel (black and white) images.
如果您的图像是双层的,他们用LZW压缩的压缩,那么你可以使用tiffcp他们重新压缩实用程序(自带 LibTiff.Net 图书馆,免费,提供源代码)。
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.
这篇关于TIFF转换为LZW CCITT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!