lzw.py
Patrick Phalen
python-list at teleo.net
Thu Sep 30 13:34:47 EDT 1999
[Dinu C. Gherman, on Thu, 30 Sep 1999]:
:: I had some fun writing Python functions to encode and decode
:: data using a variant of the Lempel-Ziv coding algorithm family,
:: namely LZW, Lempel-Ziv-Welch.
<snip>
:: Of course, there is zlib, but who says there won't be another
:: deep-pocket company popping up tomorrow just to say they have
:: invented this "before" already?
PNG, (zlib loads and save .png files) sounds like what you want. It was
written to avoid that problem.
More information about the Python-list
mailing list