Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Java implementation of the Huffman, LZ77, and LZW compression algorithms.

Notifications You must be signed in to change notification settings

robertlisaru/file-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file-compression

Java implementation of the Huffman, LZ77, and LZW compression algorithms.

image

Benchmarks

method: huffman
file to compress: src\main\java\ro\ulbsibiu\ccsd\laboratory\robert\ui\MainFrame.java
file size: 33.3kb
compressed file size: 16.8kb
ratio: 50%
method: lz77
offset size: 15bits
length size: 7bits
file to compress: src\main\java\ro\ulbsibiu\ccsd\laboratory\robert\ui\MainFrame.java
file size: 33.3kb
compressed file size: 6.3kb
ratio: 19%
method: lzw
dictionary size: 15bits
dictionary strategy: freeze
file to compress: src\main\java\ro\ulbsibiu\ccsd\laboratory\robert\ui\MainFrame.java
file size: 33.3kb
compressed file size: 11.3kb
ratio: 34%

About

Java implementation of the Huffman, LZ77, and LZW compression algorithms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages