I'm brand-new to IM scripting. I read the Usage pages on comparisons and took a look at some scripts as well as the first several pages of a forum search but didn't see anything really relevant to my issue. (I apologize if I missed something.)
I have two folders of the same set of small bitmap images (they're individual glyphs, actually). They are named identically. I would like to compare them in a batch and create a diff image of where they're different. So I have two problems: first is writing a batch script to grab files of the same name from the two folders and pass them to IM command line. If this is beyond the purview, that's fine, ignore this and I'll figure it out somehow. Second and more importantly is how to get the compare to ignore image size. If the images are different sizes, then this is one of the differences I would definitely like to know about.
I found https://stackoverflow.com/questions/513 ... magemagick which yielded this command for me to use
Code: Select all
compare image1 image2 -compose src diff.png
I would appreciate any help in figuring out this issue. Thanks very much.
Micah