A simple C program that allows you to modify images with a .ppm extension (only p3 for now).
Compile and run the program in the terminal with one of the options:
# main <path to your input ppm image> -<option> <optional parameter>
-blackwhite
# 0.5 - no changes, < 0.5 - decrease gamma, > 0.5 - increase gamma
-gamma <intensity (value must be between 0 - 1)>
# eg. r - only red color, rgb - all colors visible
-filter <available filters (rgb) and all theirs combinations>
# 0.5 - no changes, < 0.5 - decrease gamma, > 0.5 - increase contrast
-contrast <intensity (value must be between 0 - 1)>