another fix

main
Antonio De Lucreziis 2 years ago
parent 63a8436f11
commit 2c3bf2ff39

@ -66,7 +66,7 @@ for f in "$temp_pages_dir"/page-*.jpg; do
gs -dNOSAFER -sDEVICE=pdfwrite -o "${f/.jpg/.pdf}" /usr/share/ghostscript/lib/viewjpeg.ps -c "($f)" viewJPEG gs -dNOSAFER -sDEVICE=pdfwrite -o "${f/.jpg/.pdf}" /usr/share/ghostscript/lib/viewjpeg.ps -c "($f)" viewJPEG
done done
logf "Merging compressed pages to a single PDF ()\n" logf "Merging compressed pages to a single PDF\n"
pdfunite "$temp_pages_dir"/page-*.pdf $output_file pdfunite "$temp_pages_dir"/page-*.pdf $output_file
rm -r "$temp_pages_dir" rm -r "$temp_pages_dir"

Loading…
Cancel
Save