percentwei / data-compression-with-huffman-coding

Simple huffman coding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

data compression with huffman coding

Compress

  • Type the name of the file to process: William1.txt
  • Type 1 to compress and 2 to decompress: 1
  • Original bits = 116
  • Compressed bits = 78
  • Saved 67.24% of memory

Output output.txt

Decompress

  • Type the name of the file to process: output.txt
  • Type 1 to compress and 2 to decompress: 2

Output output.txt

Reference Code

About

Simple huffman coding


Languages

Language:Python 100.0%