A Java-based file compression tool that uses Huffman Coding to reduce the size of text files, providing efficient and lossless compression.
- Compresses and decompresses text files using Huffman Coding.
- Achieves significant size reduction with lossless data recovery.
- Command-line interface for easy usage.
To compress:
java FileCompressor compress input.txt output.huff
To decompress:
java FileCompressor decompress output.huff decompressed.txt
- Java for implementation
- Huffman Coding for compression
- Data Structures: Binary Tree, Priority Queue
- Clone the repo:
git clone https://github.com/your_username/file-compressor.git
- Compile:
javac *.java
- Run the compressor/decompressor.
- Add GUI support.
- Extend to handle binary files.
This version gives a quick overview while highlighting key details.