Sunday, April 12, 2009

JPG TO PDF CONVERSION IN UBUNTU

To convert multiple files of jpg format into a single pdf, we can use IMAGEMAGICK.
It can be installed from the synaptic package manager
or
by simply using the command:
sudo
apt-get install imagemagick

Then 1) Go to the directory where your .jpg files are saved.
2) Convert *.jpg -adjoin name.pdf

15 comments:

  1. It works without -adjoin too ! isn't it ?

    ReplyDelete
    Replies
    1. This resource is very useful! But I also liked this one for the ease of use: Really makes it easy to convert images to PDF. I didn't have to download anything and it was really easy to use. You can also convert all image formats, it's great.
      It converts JPG to PDF but also PNG, BMP, TIF or GIF

      Delete
  2. when i tried it without adjoint, there were certain problems that were arising in converting many jpgs to a single pdf.

    ReplyDelete
  3. it should be convert instead of Convert.

    ReplyDelete
  4. exactly what i was looking for. perfect

    ReplyDelete
  5. it works for me only when i typed *.JPG instead of *.jpg

    ReplyDelete
  6. Thanks Shainky, I was struggling with gnome photo printer to convert *.jpg to pdf which I was able to do after setting some appropriate options but the output file was too big compared to total jpg sized.

    "convert" works perfectly. Thanks a lot.

    ReplyDelete
  7. Thank you! It worked wonderfully!

    ReplyDelete
  8. great post! exactly what I wanted!

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. You can compress the output file by adding the option compress.
    Thus: convert -compress jpeg *.jpg output.pdf

    ReplyDelete
  11. Where where I will get the directory of any file.

    ReplyDelete
  12. Wow what a great blog, i really enjoyed reading this, good luck in your work. Convert PDF to PPT

    ReplyDelete