Compile pdf file from multiple images scanned in by scanimage –batch

pdfscanner

Say I'm scanning in images of documents with something like:

scanimage --mode Gray --resolution 300 -x 215 -y 280 --format=tiff \
    --batch=document-p%d.tiff --batch-prompt

(In the example I've used .tiff format, but I'm open to anything that works.)

What's the easiest way to compile the separate image files into a single PDF file?

Best Answer

Using ImageMagick is probably the easiest way:

convert document-p*.tiff output.pdf
Related Question