[magick-users] color search with ImageMagick

Fred Weinhaus fmw at alink.net
Thu May 28 13:14:19 PDT 2009


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


More information about the Magick-users mailing list