How can I determine the visual, background color?
Posted: 2006-04-14T09:14:39-07:00
I've got a program that users can upload images. The instructions say to always make the visual, background color 256 256 256; but they don't do so.
The images are simple street maps.
I'd like to be able to determine if the background is grey, light green, or whatever, and convert it to white.
Basically, I need the equivalent of the max bar on the histgram.
Anyone have a suggestion?
The images are simple street maps.
I'd like to be able to determine if the background is grey, light green, or whatever, and convert it to white.
Basically, I need the equivalent of the max bar on the histgram.
Anyone have a suggestion?