[module/scanner] Fix scan-a4

This commit is contained in:
Malte Tammena 2022-04-21 13:49:57 +02:00
parent 0a4e253bbf
commit 1ef04c1947

View file

@ -14,11 +14,11 @@
exit 1
fi
scan --device-name ${device} \
-x 210 \
-y 297 \
-o /tmp/last-scan.png \
--resolution 150 || exit 2
scanimage --device-name ${device} \
-x 210 \
-y 297 \
-o /tmp/last-scan.png \
--resolution 150 || exit 2
convert /tmp/last-scan.png "$1" || exit 3
'';
};