https://github.com/ka-iden/huffman
Huffman coding, compression and decompression
https://github.com/ka-iden/huffman
cpp huffman-coding huffman-compression-algorithm
Last synced: 3 months ago
JSON representation
Huffman coding, compression and decompression
- Host: GitHub
- URL: https://github.com/ka-iden/huffman
- Owner: ka-iden
- License: mit
- Created: 2024-10-20T09:39:55.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-04T17:21:27.000Z (3 months ago)
- Last Synced: 2025-04-04T17:31:40.089Z (3 months ago)
- Topics: cpp, huffman-coding, huffman-compression-algorithm
- Language: C++
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UNDER COMPLETE REWRITING. NOTHING WILL WORK ATM. NO POINT TRYING TO COMPILE LMAO
# IGNORE WHAT I WROTE DOWN THERE, I WROTE THAT 6 MONTHS AGO# Huffman
A C++ compression and decompression program that uses Huffman Coding.
For a final high school project :)# Building
You can build on windows, no strings attached as always, since I only use a windows computer.
For the same reason, I will not be providing any help in issues that have to do with using mac or linux, as not all the filesystem functions work on all operating systems.# Usage
The program will only take in `.txt` and `.huff`, the extension I chose :^)
Usage is very simple and can only be used from the command line, being:
`Huffman.exe /path/to/input.extension path/to/output.extension`
You can go from `.txt` to `.huff` or from `.huff` to `.txt`.# Examples
Some examples of the program running is provided in [here](Tests/)
They were generated with these two commands:
`Huffman.exe input.txt encoded.huff`
`Huffman.exe encoded.huff output.txt`# License
This repo, just like most of my other repos, is licensed under the [MIT License](LICENSE).