Fixed the sorting of the pages issue with pdfunite

This commit is contained in:
Karma Riuk 2021-05-27 14:48:19 +02:00
parent 20ffba4084
commit ccbb6246cd

View File

@ -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 () {