Sorry about my english level in advance !
I've done a script which compare two images, and give me back a third image with only differences :
Code: Select all
convert image_1.png image_2.png -alpha off +repage \( -clone 0 -clone 1 -compose difference -composite -threshold 0 \) \( -clone 0 -clone 2 -compose multiply -composite \) -delete 0,1 +swap -alpha off -compose copy_opacity -composite -trim +repage result.png
But I need to get the position of the third image. Where the difference where found ?
I didn't find anything about.
Thanks in advance,
Have a nice day !