Skip to content

A file compressor based on the Huffman compression algorithm

License

Notifications You must be signed in to change notification settings

leofracca/FileCompressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileCompressor

A basic file compressor that uses Huffman compression.

Dependency

Building

git clone https://github.com/leofracca/FileCompressor
cd FileCompressor
mkdir build
cd build
cmake ..
make

Usage

./fileCompressor path/to/input/file OPTION [path/to/output/file]

Example

# Compress the file foo.txt
# (it automatically generates the output file foo.txt.compressed,
# since no output file is given)
./fileCompressor foo.txt -c
# Decompress the file foo.txt.compressed and generate bar.txt
./fileCompressor foo.txt.compressed -d bar.txt

For a list of all possible options use

./fileCompressor -h

Documentation

make docs

References

About

A file compressor based on the Huffman compression algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published