Skip to content

This repository contains a Java implementation of Huffman coding, a popular data compression algorithm. Huffman coding is used to compress and decompress data efficiently, making it a useful tool for various applications.

License

Notifications You must be signed in to change notification settings

Rishabh0896/huffman-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman Coding Project

Overview

This repository contains a Java implementation of Huffman coding, a popular data compression algorithm. Huffman coding is used to compress and decompress data efficiently, making it a useful tool for various applications.

Features

  • Huffman coding algorithm implementation.
  • Compression of text data using Huffman codes.
  • Decompression of Huffman-encoded data.

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository to your local machine

  2. Open the project in your Java development environment (e.g. IntelliJ).

  3. Build and run the project to access the Huffman coding functionality.

gradle build
  1. The runnable jar can be found in build/libs

  2. Place the jar in the folder where you need to compress the text file and run the following command to compress and decompress

java -jar huffman-compression.jar <YOUR_TEXT_FILE> compress # Compress
java -jar huffman-compression.jar <YOUR_TEXT_FILE> decompress # Decompress

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Contact

If you have any questions or suggestions, feel free to reach out to the project maintainer:

Rishabh Gupta

Email: [email protected]

About

This repository contains a Java implementation of Huffman coding, a popular data compression algorithm. Huffman coding is used to compress and decompress data efficiently, making it a useful tool for various applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages