Quote:
Quote:
It isn't just a case of just adding whatever is necessary to get 255, 255, 255

You're really looking for an affine transformation (i.e., solve for A and B in Ax+B), such that the selected pixel ends up grey, and so that you don't screw up the brightness/contrast of the image.

Ah okay. I was wondering what was so complicated about it. I guess I'm not going to be heading into a lucrative career writing image processing software then