A C program that can compress and decompress images, display instances of colors and edit them.
- When the program starts, you'll see two avaliable commands. To run a command type it's name.
-
Compresses a
pgm
image and saves it assqz
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
- 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.
- decode : Reconstructs the