config/scripts/imgdiff

7 lines
163 B
Plaintext
Raw Permalink Normal View History

2017-11-24 10:31:17 +01:00
#!/bin/bash
tmpfile=$(mktemp /tmp/img-diff.XXXXXX)
2019-05-17 12:49:42 +02:00
compare -compose src -metric AE $1 $2 $tmpfile
#compare -metric PSNR $1 $2 $tmpfile
2017-11-24 10:31:17 +01:00
eog -n $tmpfile
rm $tmpfile