JPG to PDF – create PDF documents from images with one line

By , last updated November 12, 2019

We always need to convert word documents and images to PDF. Here’s how you can do that.

Command line

Run the command “convert” with a target PDF file name:

convert *.JPG target.pdf

With this approach you can also resize images at the same time to make the resulting PDF file smaller:

convert *.JPG -resize 1600 target.pdf

OpenOffice

In order to easily convert Word documents to PDF I use OpenOffice feature “Export as PDF”. Just open your Word document in OpenOffice and export it as PDF.