Merging a folder of images into single PDF file
Imagine you have a folder with many images (scanned document or photo album) and you want to generate single file containing all of them and send it by email for example. This can be achieved using convert tool from imagemagic suite. You need only one command, executed in the folder containing the images (assuming all images are jpg format):
convert -compress *.jpg out.pdf
In you you want to specify the exact sequence of pages when files are not properly named use:
convert -compress 1.jpg second.jpg page3.jpg out.pdf
No comments yet
This page was last modified on 2024-12-04 11:39:24