Huffman Coding is a lossless encoding algorithm, used as the basis of many compression applications, including multimedia codecs such as .mp3 and and .jpeg
I made a Java-implementation of this algorithm for a course project in 2008 which I ended up being quite happy about. From the beginning, I felt that it would be instructive to be able to view the Huffman-representation of a compressed file. Of course, it might be even more instructive to animate the compression process but that wasn't my goal. While pondering the best way to animate the tree, I stumbled across processing which is an open-source project aiming to facilitate the use of graphical components in Java applications.
For those interested in Huffman Coding, I thought I'd make the application available here. I will not post the code since this is a standard course project for computer science students. Enjoy!
- HuffmanZip - zip archive including the executable .jar file and required libraries
- MD5 - MD5 checksum
Update 2009-04-27: I got an email about missing icons. My apologies, the archive is now updated.