Fixed the sorting of the pages issue with pdfunite
This commit is contained in:
parent
20ffba4084
commit
ccbb6246cd
@ -18,7 +18,7 @@ verbose () {
|
|||||||
pdf_to_jpg () {
|
pdf_to_jpg () {
|
||||||
verbose "Converting the scan '$1' 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 () {
|
tesseract_jpgs () {
|
||||||
|
Loading…
Reference in New Issue
Block a user