Skip to content

This is a simple C program to compress/decompress file contents using Run-Length Encoding algorithm

License

Notifications You must be signed in to change notification settings

T3l3sc0p3/rle-compression-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RLE-Compression

A simple C program to compress/decompress file contents using Run-Length Encoding algorithm

I wrote this program because this is one of the assignments that my teacher gave me, and I also have some interest, so I decided to publish it on Github

Compile

First clone this repo to your machine, then cd to that repo and run

make

This project was compiled and succesfully tested on:

  • Linux

Usage

       _                                                        _
      | |                                                      (_)
  _ __| | ___ ______ ___ ___  _ __ ___  _ __  _ __ ___  ___ ___ _  ___  _ __  
 | '__| |/ _ \______/ __/ _ \| '_ ` _ \| '_ \| '__/ _ \/ __/ __| |/ _ \| '_ \ 
 | |  | |  __/     | (_| (_) | | | | | | |_) | | |  __/\__ \__ \ | (_) | | | |
 |_|  |_|\___|      \___\___/|_| |_| |_| .__/|_|  \___||___/___/_|\___/|_| |_|
                                       | |                                    
                                       |_|                                    
Usage:
	./rle-compression [options] [files]
Options:
	-b,  --banner		Display the banner
	-e,  --encode		Encode content of files
	-d,  --decode		Decode content of files
	-h,  --help		Display this help and exit
	-v,  --version		Show this program version
Examples:
	./rle-compression -b -e test.txt
	./rle-compression -b -d test.txt.enc

References

While creating this program, I utilized various websites as resources. I hope that this will useful...

License

This project is published under MIT License

About

This is a simple C program to compress/decompress file contents using Run-Length Encoding algorithm

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published