Results 1 to 8 of 8

Thread: JPG to PDF?

  1. #1
    Join Date
    Jul 2007
    Location
    Salt Lake City, Utah
    Beans
    487
    Distro
    Ubuntu 9.10 Karmic Koala

    JPG to PDF?

    I need to convert a whole bunch of jpg files to pdf. I keep reading that imagemagik should be able to do it. I get an error every time though.
    Code:
    jason@Barnaby:~/Documents/Stuff$ convert *.jpg foo.pdf
    Segmentation fault
    jason@Barnaby:~/Documents/Stuff$

  2. #2
    Join Date
    Jun 2008
    Location
    California
    Beans
    2,271
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: JPG to PDF?

    That is is an ongoing problem that's been around for some time. The simplest solution is to install graphicsmagick by way of synaptic. The command is then:

    Code:
    gm convert *.jpg foo.pdf
    For additional information on graphicsmagick go to:

    http://www.graphicsmagick.org/

  3. #3
    Join Date
    Jul 2007
    Location
    Salt Lake City, Utah
    Beans
    487
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: JPG to PDF?

    Thank you. I didn't even see one reference to graphicsmagik when looking.

  4. #4
    Join Date
    Jun 2008
    Location
    California
    Beans
    2,271
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: JPG to PDF?

    I upgraded to lucid a few days ago and decided to see if the included version of imagemagick might be better. As a test, I converted 10 JPEG's that were each about 3 MB each to a PDF without any issue. So, if you are going to upgrade to lucid, you might want to give imagemagick another try.

  5. #5
    Join Date
    Jul 2007
    Location
    Salt Lake City, Utah
    Beans
    487
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: JPG to PDF?

    I do plan on it, thanks.

  6. #6
    Join Date
    Apr 2010
    Location
    Hong Kong
    Beans
    67
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: JPG to PDF?

    Thank you for creating this thread!

    I have this problem of converting jpg to pdf and your thread introduced 'convert' this great command to me! Saved me hours!

  7. #7
    Join Date
    Sep 2011
    Location
    Nasik, MH, India
    Beans
    83
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: JPG to PDF?

    Thanks vm for this thread. I learned a very useful new command. I am using ubuntu 12.04 ( Actually Pinguy OS based on Ubuntu 12.04) and the command worked very fine on my laptop.

  8. #8
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,636
    Distro
    Ubuntu

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •