You load the two images into Blender's Image Editor view, then open the Text Editor view, create a new text, paste this, change the image names in the script and run it:https://pastebin.com/embed_iframe/Kp71USex Blender is a convenient environment to run scripts that do something with image pixels. More information in…
I second the page-flipping method, you can do it with two layers on Photoshop, toggling the visibility of the top one. This is the easiest and best method. Just for completeness, you can also try loading the two images into Blender and using a Python script to create a third image with just the pixels that don't match.…