I have multiple jpg images as files like 001.jpg, 002.jpg …
How to merge multiple jpg images to a pdf on Linux?
convert
is your good friend:
convert *.jpg output.pdf
I have multiple jpg images as files like 001.jpg, 002.jpg …
How to merge multiple jpg images to a pdf on Linux?
convert
is your good friend:
convert *.jpg output.pdf
Note that convert will read the uncompressed input files into memory before converting to pdf, so if you have a lot of files, you might run out of memory.
An alternative approach is first convert each file to pdf, and then combine the pdfs into one.