Minigimp is a program written in C able to edit pictures in ppm format. I coded different effects :
miror, black and white, bicolor, sepia, increase/decrease light, increase/decrease contrast, shades of
You can find below, three of the filter I've developed : Black and White, Sepia, and Bicolor.
The code is available on my GitHub account.