Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/light2802/file-compressor
Huffman encoder and decoder
https://github.com/light2802/file-compressor
huffman-compression-algorithm tree-structure
Last synced: 11 days ago
JSON representation
Huffman encoder and decoder
- Host: GitHub
- URL: https://github.com/light2802/file-compressor
- Owner: light2802
- License: gpl-3.0
- Created: 2021-03-01T11:33:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-05T05:56:33.000Z (almost 3 years ago)
- Last Synced: 2024-11-12T01:36:44.126Z (2 months ago)
- Topics: huffman-compression-algorithm, tree-structure
- Language: Jupyter Notebook
- Homepage:
- Size: 3.64 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DSA-Project-zip
This Project is published under GPL. So please feel free to suggest any changes to make this better
Also I am making this in my Second Year of engineering degree so please don't judge if you finad any bugs or don't feel it is up to your standards
Also please give a star on my github (light2802) if you liked it :)# Steps to run the code
Run .\aar <-parameter-> <-filename with extension->
Parameters:
-e : To encode the file
-d : To decode the file# Code flow in general terms
[Flow of Code](./Flow of code.svg)# Some things that may seem like issues but are not
The file extension is overwrriten(appended)
For ex. if you compress a file with name Demo.txt it creates new file with name Demo.txt.aar Also when you decode this Demo.txt.aar you will get your new file with name Demo.txt.aar.txt
I know it's a easy fix but I'm lazy ;)
Also the code only encodes single .txt files. Going to work further on multiple files and directories