script: Add imgdiff

This commit is contained in:
Mathieu Maret 2017-11-24 10:31:17 +01:00
parent c2907a6b5b
commit a17c49c160

5
scripts/imgdiff Executable file
View File

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