Find Position of SubImage in biggger one
Posted: 2010-11-18T03:47:34-07:00
Hi Folks,
I'm a complete newbie to IM. So please bear with me. I want to find the position of a given subimage in a bigger image. Supposely, the following command was able to do this at some point in the life of IM:
As of today, however, when I run this command, I get the following error message:
Thanks,
Klaus.
I'm a complete newbie to IM. So please bear with me. I want to find the position of a given subimage in a bigger image. Supposely, the following command was able to do this at some point in the life of IM:
Code: Select all
convert cyclops_question.png cyclops.png \
\( -clone 0 -clone 1 -compose difference -composite -threshold 0 \) \
-delete 1 -alpha off -compose copy_opacity -composite -trim \
cyclops_sep.png
As I understand (from http://www.imagemagick.org/Usage/basics/#why), this seems to be due to change in the command line arguments and their ordering. Hence my question: how can I do this with the current version of ImageMagick?convert: missing an image filename `source.png' @ error/convert.c/ConvertImageCommand/2949.
Thanks,
Klaus.