I think this is a trivial question, but I don't understand how can I replace some RGB values in a BMP image. For example, I'd like to replace a single color with another one in the entire image, or I want to change a texture from color to my greyscale. Thanks, Maurizio