Convert JPEG Images to PDF On Ubuntu

By , 23 November 2010

Convert JPEG Images to PDF On Ubuntu

You can convert multiple jpgs into a single pdf on Ubuntu Linux using ImageMagick like so:

$ convert *.jpg out.pdf

The problem with this is that it segfaults for me using jpegs, and if I use PNGs the resulting file is way too large. So I did some searching and found an even better tool for the job. It's called gscan2pdf and works flawlessy with jpeg images and lets you set all sorts of output options for the pdf.

Since it has a GUI it's also very easy to use. It's in the Ubuntu repository already, so all you need is:

$ apt-get install gscan2pdf

Great job gscan2pdf developers!

Convert JPEG Images to PDF On Ubuntu

About Roger Keays

Convert JPEG Images to PDF On Ubuntu

Roger Keays is an artist, an engineer, and a student of life. Since he left Australia in 2009, he has been living as a digital nomad in over 40 different countries around the world. Roger is addicted to surfing. His other interests are music, psychology, languages, and finding good food.

Leave a Comment

Please visit to add your comments.

Comment posted by: Henoc Soares, 5 years ago

It works very nice! Thanks :)