Skip to content

A Utility program that can compress PGM images using Run Length Encoding Algorithm or reconstruct them without loss.

Notifications You must be signed in to change notification settings

umutsevdi/rle-img-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Run Length Encoding Image Compression

A C program that can compress and decompress images, display instances of colors and edit them.

How to use

  • When the program starts, you'll see two avaliable commands. To run a command type it's name.

Compress

  • Compresses a pgm image and saves it as sqz file format. Uses RLE-Image Compression.

    RLE stands for Run Length Encoding. Images commonly have the same information repeated numerous times in a row. Images can have strips of the same pixel color for example. Run Length Compression stores representations of this data in per run format, thereby compressing the data

Construct

  • Reads the given compressed .sqz file.

  • Then allows you to choose one of following commands.
    • decode : Reconstructs the pgm image.
    • recolor : Chagnnges all instances of given color.
    • edit : not avaliable Edits given pixel in the file.
    • histogram : displays instances of each color in the file.

About

A Utility program that can compress PGM images using Run Length Encoding Algorithm or reconstruct them without loss.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages