config/scripts/imgdiff
2019-05-17 12:50:01 +02:00

7 lines
163 B
Bash
Executable File

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