#!/bin/sh # this uses ImageMagick, so make sure it's installed for this to work compare $2 $1 png:- | montage -geometry +4+4 $2 - $1 png:- | display -title "$1" -