I frequently have to merge a lot of images inside a pdf. Naturally, I’d like to automate this a bit. Here are the things I need: lossless merge into a pdf merge of most common image formats natural sorting of numbers (1.jpg, 2.jpg, and 10.jpg would be merged in this order, not as 1.jpg 10.jpg 2.jpg) can deal with white-spaces
Tag: imagemagick-convert
convert images to pdfs in subdirectories
I have a bunch of sub-folders with images in them. I am trying to recursively convert them into pdf files using the directory names as the pdf name. With the help of some Google searches I tried using this script I wrote: It did not work. How can I get this to work? Each folder has several .JPGs in it