Compare commits

...

2 Commits

Author SHA1 Message Date
Karma Riuk
ccbb6246cd Fixed the sorting of the pages issue with pdfunite 2021-05-27 14:48:19 +02:00
Karma Riuk
20ffba4084 Changed shbang to #!/bin/bash 2021-05-27 14:00:47 +02:00

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
set -e
TMP_DIR="`mktemp -d`"
@ -18,7 +18,7 @@ verbose () {
pdf_to_jpg () {
verbose "Converting the scan '$1' to jpg"
convert -density 300 -quality 100 "$1" "$TMP_DIR/out.jpg"
convert -density 300 -quality 100 "$1" "$TMP_DIR/out-%05d.jpg"
}
tesseract_jpgs () {