#!/bin/bash
tmpfile=$(mktemp /tmp/img-diff.XXXXXX)
compare -compose src $1 $2 $tmpfile
eog -n $tmpfile
rm $tmpfile