Image Processing in C: How Computers See Color, Grayscale and Negative Filters

How color is stored at the byte level, grayscale conversion, and what actually happens to pixels when you invert an image.