Skip to content

My own implementation of the deflate algoritm

License

Notifications You must be signed in to change notification settings

SamuelBMartins/Deflate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deflate

This implementation of the deflate algoritm follows the RFC1951 except for the part about the compression of the code lenght sequence (page 12). The software was written following the C99 standard.

Setup

Run on the root of the project the following command:

$ make

It will generate an executable named deflate

Usage

How to compress:

$ ./deflate -c <nameFileInput.ext> <nameFileOutput.ext>

How to decompress:

$ ./deflate -d <nameFileInput.ext> <nameFileOutput.ext>

Features

  • huffman coding with self implemented priority queues
  • buffers to reduce file system requests
  • parameterizable block dimension

License

MPL-2.0 © Samuel Martins