Build PDF from images with ImageMagick

Tagged with images ImageMagick

Language: Bash

If you scanned a bunch of documents in from paper and you want to easily combine them into a single PDF, you can use ImageMagick’s convert command.

Place all of your files in a directory and give them sequential names (001.tif, 002.tif, 003.tif, etc) and then run this command:

View as text

convert -compress JPEG -adjoin *.tif pdf:all_these_files_in_one.pdf
Original snippet written by Brian Hogan
Last updated at 16:15 PM on Jan 01, 2009 by Brian Hogan

SnippetStash costs money to host and develop. The service is free for everyone to use
but if you found it useful please consider making a small donation.