[module/scanner] Fix scan-a4
This commit is contained in:
parent
0a4e253bbf
commit
1ef04c1947
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue