Skip to content

Commit 01a051d

Browse files
committed
make it more platform independent
1 parent 76e5ad7 commit 01a051d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

is_ocrd_pdf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ for ((i = 1; i <= num_pages; i++)); do
8080
echo "check page $i"
8181
# difference in pixels, if 0 there are the same pictures
8282
# discard diff image
83-
if ! magick compare -metric AE -fuzz $tolerance% output/"$i"/1.png output/"$i"/2.png null: 2>&1; then
83+
if ! compare -metric AE -fuzz $tolerance% output/"$i"/1.png output/"$i"/2.png null: 2>&1; then
8484
echo " pixels difference, not a scanned PDF, mismatch on page $i"
8585
exit 99
8686
fi

0 commit comments

Comments
 (0)