Friday, January 2, 2015

[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).

Install

First we need to install the imagemagick package, so open a terminal window and run:

sudo apt-get install imagemagick -y

Convert

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.

No comments:

Post a Comment