How to merge multple JPG files into one PDF

Another quick and simple Linux tip, if you have multiple JPG image files and would like to convert them into a single PDF file then ImageMagick is your friend.

Let’s say for example you have four imag files anmely: image1.jpg, image2.jpg, image3.jpg and image4.jpg, to convert/merge them into a single PDF file, simply run:

convert image1.jpg image2.jpg image3.jpg image4.jpg images.pdf

or if the images are all in a folder:

convert *.jpg images.pdf
· Linux, JPG, ImageMagick