BMP files

Project

Requirements for 3.0

Requirements for 3.5

Requirements for 4.0

Important! The above method to create grayscale image is a good exercise in manipulating binary data and you can easily see if your code performs as expected (either the output BMP is a grayscale image or not). However, the method is bad for several reasons and you should be aware of that as well. First of all, assigning red, green and blue to the same value in each pixel will make it gray, but is a waste of memory space. One should create a palette of 256 possible gray colors and represent each pixel with a single byte instead of three. But even more severe problem lies in the fact, that converting to grayscale should take into account color recognition by human eye, which is not uniform for all color channels. Recommended reading: http://cadik.posvete.cz/color_to_gray_evaluation/

Requirement for 4.5

Requirement for 5.0

Useful resources

Bitmaps to use for testing (uncompressed, 24-bits, free license)