[TIP] Convert jpeg to PDF
In this article we'll learn how to create a PDF file from a bunch of jpeg images (it can be adapted for other image types as well).
First we need to install the
imagemagick package, so open a terminal window and run:
sudo apt-get install imagemagick -y
Then change the current directory to where the images are located and use this command to convert to PDF:
convert *.jpeg output.pdf
Change output.pdf to whatever name you like/need.