How can I determine the visual, background color?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ridera

How can I determine the visual, background color?

Post by ridera »

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?
Post Reply