We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5eba127 + 59766b6 commit 7b7ab80Copy full SHA for 7b7ab80
bin/barcode-scanner/run.sh
@@ -2,4 +2,4 @@
2
3
/usr/bin/pdftoppm -png -r $1 -singlefile -cropbox '/data/input.pdf' '/data/image' || exit 1
4
5
-/usr/bin/zbarimg -S*.enable '/data/image.png' > '/data/output.txt' || exit 5
+/usr/bin/zbarimg --set '*.disable' --set '*.no-position' --set '*.x-density=2' --set '*.y-density=2' --set 'code128.enable' --set 'qrcode.enable' '/data/image.png' > '/data/output.txt' || exit 5
0 commit comments