VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



compression functions (run length, Huffman and ZLib)

by Louis Coder (4 Submissions)
Category: String Manipulation
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

Here you get 3 types of compression functions:
1) a run length encoding ("hellohellohello"->3*"hello") 2) a Huffman compression (with Huffman tree, where more frequent chars get a shorter bit string in output file) and 3) a VB interface to the ZLib compression (ZLib.dll was written by someone else).
You can also compress and pack several files into one compressed file (CompressionPack) and unpack them again.
Please note that my self made compression (1) and 2)) is not that fast and efficient, but good for learning purposes. If you have questions understanding the code or the basing ideas go to www.louis-coder.com and mail me!

Assumes
To open the project with VB5, remove the 'Ratained=0' line from 'GFCompression.vbp'! Mail me if you need help!

Rate compression functions (run length, Huffman and ZLib)

Download compression functions (run length, Huffman and ZLib)

Download compression functions (run length, Huffman and ZLib) (57 KB)

compression functions (run length, Huffman and ZLib) Comments

No comments have been posted about compression functions (run length, Huffman and ZLib). Why not be the first to post a comment about compression functions (run length, Huffman and ZLib).

Post your comment

Subject:
Message:
0/1000 characters