Anyone knows how to make imagemagick output an image with the differences between two other images? Similar to a diff, but not exactly the same. Any other Windows/Linux commandline tool that can be scripted would be good too (because I need to do this with hundreds of images).
Quick and dirty example: Let's say I have these two images:
And I need to obtain only the curtain (and any other differences if there were), with everything else transparent.