寻找一个实现LZW COM pression / DECOM pression库 [英] Looking for library which implements LZW compression/decompression
问题描述
我需要学习如何使用笔和纸做的的Lempel-谢夫 - 韦尔奇 COM pression我算法和数据结构类。不幸的是,我们只有几个例子在我们它是如何做的书。我想用它来练习COM pressing和DECOM pressing的文字,但我需要找到一个方法来检查,如果我是正确的做对还是错。其中一个选项是做一个计划,将COM preSS / DECOM preSS字符串,并显示文本。我知道这不会是太困难从零做一个计划,这将是很好的学习经验,但我宁愿避免在实现算法的决策失误。
I need to learn how to do Lempel–Ziv–Welch compression using pen and paper for my algorithms and data structures class. Unfortunately we have only a couple of examples in our book of how it is done. I'd like to practice compressing and decompressing text using it, but I need to find a way to check if I'm right doing it right or wrong. One of the options is make a program which will compress/decompress a string and show text. I know that it wouldn't be too difficult to make a program from zero and that it would be good learning experience, but I'd rather avoid making mistakes in implementation of algorithm.
所以我在寻找一些preferably自由/开源库,CAN通讯preSS和DECOM preSS LZW为C / C ++ / C#/ Java的。
So I'm looking for some preferably free/open source library which can compress and decompress LZW for C/C++/C#/Java.
推荐答案
的libtiff 提供的 LZW的COM pression套件和马克·纳尔逊的 LZW数据通信pression 教程包括一些工作源。
LibTIFF provides a LZW Compression Kit, and Mark Nelson's LZW Data Compression tutorial includes some working source.
您可能也有兴趣在这篇文章中:带回LZW COM pression
You might also be interested in this article: Bringing back LZW compression
这篇关于寻找一个实现LZW COM pression / DECOM pression库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!