Understanding the Lempel-Ziv Data Compression Algorithm in Java
Posted by Mark Nelson on 21st February 2006 | Permanent Link
If you’re a regular here, you may already have a pretty good feel for the algorithms invented by Jacob Ziv and Abraham Lempel, and how they all roll into Zip’s deflate algorithm. But if you don’t, hit up developer.com for this article and maybe you’ll walk away with some key knowledge.
Here’s the preface, so you may know what you are getting into:
This is the first lesson in a new series of lessons that will teach you about data and image compression. The series begins with the Lempel-Ziv Lossless Data Compression Algorithm, commonly known as LZ77.
Enjoy!
February 28th, 2006 at 10:31 pm
HELLO SIR
MY SELF SACHIN JAIN
ASST. PROF. IN COMPUTER SCIENCE DEPT.
TIT BHOPAL,STATE-M.P., INDIA
I M INTRESTED TO KNOW THAT LZW ALGORITHM IN JAVA ,IT IS VERY HELPFUL TO ME .
THANKING YOU SIR
July 21st, 2006 at 5:02 am
Hii Sir,
If u hve java source code for lz77 compression and decompression plz give it me its mor helpfull to me.
Thanks
Shihab
July 21st, 2006 at 8:48 am
Shihab, follow the link to the article and you can get the LZ77 code no problem.
Sachin, a single search on google of “lzw java” gave this link as its first hit:
http://www.cs.biu.ac.il/~freskom1/AlgProg1/Progs/LZW.java
July 23rd, 2006 at 11:16 pm
Thanks Mark, but how i input a file and run the program.Actually my requirment is compression and Decompresion of an XML file.is the code is useful for me?plz give me ur valid comments.
Thanks,
Shihab.
July 24th, 2006 at 11:49 am
You need to go back to your programming class (or books), instead of wasting your and other’s time on a data compression forum.