imgdiff added
This commit is contained in:
8
files/imgdiff
Executable file
8
files/imgdiff
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
DISP=display
|
||||
which feh &> /dev/null && DISP="feh --scale-down"
|
||||
|
||||
compare -verbose -metric RMSE "$1" "$2" MIFF:- | \
|
||||
convert -background gray -gravity center "$1" "$2" +append - -append PNG:- | $DISP -
|
||||
|
||||
Reference in New Issue
Block a user