Starting with a map image.. I cropped a small segment from that image. That segment should be an exact match!
Code: Select all
wget https://dl.dropbox.com/u/9500683/map_merged.png
convert map_merged.png \
-background grey -alpha remove -alpha off \
\( +clone -crop 15x15+15+19 +repage \) miff:- |\
compare -subimage-search - results_%d.png
also
Code: Select all
display results_*.png
But using show: works fine.