Menu

Tree [9aad03] master /
 History

HTTPS access


File Date Author Commit
 InterfaceGraghique 2019-01-09 Mohamed Abbassi Mohamed Abbassi [9aad03] Update MainInterface.java
 samples 2014-08-20 mourad sabour mourad sabour [8debe4] add image to samples
 FileCharIterator.java 2018-12-06 sirinebouzid sirinebouzid [f6ceaa] Update FileCharIterator.java
 FileFreqWordsIterator.java 2018-12-06 sirinebouzid sirinebouzid [4a143e] Update FileFreqWordsIterator.java
 FileFreqWordsIteratorTest.java 2018-12-06 Mohamed Abbassi Mohamed Abbassi [b5d9a5] Update FileFreqWordsIteratorTest.java
 FileOutputHelper.java 2018-12-06 sirinebouzid sirinebouzid [52043e] Update FileOutputHelper.java
 HuffmanEncoding.java 2019-01-09 Mohamed Abbassi Mohamed Abbassi [2a4793] Update HuffmanEncoding.java
 HuffmanEncodingTest.java 2018-12-06 sirinebouzid sirinebouzid [f4cb96] Update HuffmanEncodingTest.java
 README.md 2014-08-20 moomou moomou [7ef470] Update README.md
 Zipper.java 2018-12-06 sirinebouzid sirinebouzid [48911b] Update Zipper.java
 ZipperTest.java 2018-12-06 sirinebouzid sirinebouzid [6d870b] Update ZipperTest.java

Read Me

huffman-encoding

A java program to compress files using huffman encoding.

Implementation of variants of Huffman encoding, a lossless data compression algo-rithm that is used in encoding schemes such as JPEG and MP3 (MPEG-1).

Encode

Takes in a file name, compresses the file, and outputs the compressed file with a codemap header.

Usage:

java Zipper zipper [target] [destination]
  • Target: The name of the file, folder to be compressed
  • Destination: The name of the output file

Decode

Decoding reverse the encode operation. Given any valid output file from encode, decode
should reproduce the original file.

Usage:

java Zipper unzipper [target] [destination]
  • Target: The name of the file, folder to be decompressed
  • Destination: The name of the decompressed file (to be created)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.