7 lines
163 B
Bash
Executable File
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
|