We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76e5ad7 commit 01a051dCopy full SHA for 01a051d
1 file changed
is_ocrd_pdf.sh
@@ -80,7 +80,7 @@ for ((i = 1; i <= num_pages; i++)); do
80
echo "check page $i"
81
# difference in pixels, if 0 there are the same pictures
82
# discard diff image
83
- if ! magick compare -metric AE -fuzz $tolerance% output/"$i"/1.png output/"$i"/2.png null: 2>&1; then
+ if ! compare -metric AE -fuzz $tolerance% output/"$i"/1.png output/"$i"/2.png null: 2>&1; then
84
echo " pixels difference, not a scanned PDF, mismatch on page $i"
85
exit 99
86
fi
0 commit comments