How to merge multiple jpg images to a pdf on Linux?

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

Similar Posts

One Comment

  1. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *