You can use compare to compare a 1pixel image of the color you want 
with another larger image. It will tell you the closest value it 
finds to that color.

see compare at
http://www.imagemagick.org/script/compare.php
http://www.imagemagick.org/Usage/compare/#compare

The ability to compare images of different size is new as of IM 6.5.0-9


I wrote a script to find the nearest color, called nearestcolor, at 
http://www.fmwconcepts.com/imagemagick/index.php
using that technique.


Fred
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to