How to Convert a JPEG to a PDF in Ubuntu

Written by w. p. wentzell
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Convert a JPEG to a PDF in Ubuntu
Users can convert their JPEGs to PDFs using the "Print to File" feature, or by using ImageMagick to convert from the command line. (Exif_JPEG_PICTURE image by rosi from Fotolia.com)

The ability to convert images into different formats is essential for graphic designers and other professionals who use many graphics editing tools prior to publication. Joint Photographic Experts Group (JPEG) and Portable Document Format (PDF) are well-known file formats supported by many software tools. Several open-source software options exist for converting between image formats under the Ubuntu operating system. F-Spot and other photo management softwares can convert JPEG to PDF using the "Print to File" feature, while ImageMagick can convert between the formats from the command line.

Skill level:
Easy

Other People Are Reading

Things you need

  • F-Spot
  • ImageMagick

Show MoreHide

Instructions

  1. 1

    Navigate to the "System" menu at the top left-hand corner of the desktop and select "Administration > Synaptic Package Manager." Enter your user password at the prompt.

  2. 2

    Search for "f-spot" (without quotes) under "Quick Search. Check the box next to "f-spot" and select "Mark for Installation."

  3. 3

    Click "Apply" and wait for the installation to complete.

  4. 4

    Navigate to the "Applications" menu at the top left-hand corner of the desktop and select "Graphics > F-Spot." This will open the F-Spot photo management software window.

  5. 5

    Select "Photo > Import," and choose the directory that contains the JPEG image to convert. Select the folder and click "Import."

  6. 6

    Select the JPEG image to convert from the F-Spot window once imported. Select "Photo > Print."

  7. 7

    Click "Print to File" under the "Printer" selection menu. This option will allow you to print virtually, which exports the JPEG as a PDF. Adjust the desired file name and directory output in the fields below.

  8. 8

    Click "Print." Your converted image will appear in the specified directory.

  1. 1

    Navigate to the "Applications" menu at the top left-hand corner of the desktop and select "Accessories > Terminal." This opens a command-line interface.

  2. 2

    Enter the command "sudo apt-get install imagemagick" and hit "Enter." Wait for the installation to finish.

  3. 3

    Navigate to the directory containing the JPEG you wish to convert from within the Terminal. (For more information on how to change directories from within the Terminal, please see Resources below.)

  4. 4

    Enter the command "convert image.jpg image.pdf" (where "image" refers to the name of the JPEG) and hit "Enter." The PDF output file will appear in the same directory as the JPEG.

Tips and warnings

  • If you are using an older version of Ubuntu, and are unable to select "Print to File" as the designated printer in Step 7, you will need to install this feature. Open a Terminal window and enter the command "sudo apt-get install cupsys cupsys-client." Wait for the installation to finish and resume Step 6 in Section 1.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.