Skip to content

prodBirdy/Compress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Compress?

Compress is a simple tool to compress txt and rtf files.
The Ui was built with the Avalonia Framework. So the programm is Crossplatform

How to use Compress?

i demonstrated how to use the programm in the following video

How.to.use.the.programm.mp4

How does it work?

Encode

the programm reads the text of the input file and builds a binary tree out of it. According to the Huffman coding every char in the tree gets a code like "H = 101". https://en.wikipedia.org/wiki/Huffman_coding
Then the encoded string gets turned into bytes and saved as a .huff. The tree that was used to encode the file gets saved in the runtime folder.

Decode

to Deode a .huff file the programm needs to load the .tree file form the runtime folder. after that the .huff file is being read bit by bit and once the code matches the code in the tree it gets translatet to the corresponding a char.

About

Compress is a simple tool to compress txt and rtf files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages