Save multiple images to a PDF in Linux

Place all the images you want in the PDF into a new directory and in the console run the following from within that directory:

convert * mynewfile.pdf

The powerful convert command uses the ImageMagick library which can be installed (in Ubuntu) with the following console command:

sudo apt-get install imagemagick

Tags: , , , ,

6 Responses to “Save multiple images to a PDF in Linux”

  1. Oh now that is COOL!!

  2. Damian says:

    Well, I wouldn’t go quite that far. But, yes, it was useful and I figured I’d probably be using that again some time.

    How are you by the way?

  3. Doing great but I’ve been incredibly snowed under with work for a few months. That’s why I’ve been laying a little low. I noticed you’ve been a little quiet too. How have you been?

    I thought the convert cmd was way cool because I have an immediate need for it ;) I need to display very large images in a web browser but unfortunately. Most browsers can do it with no problem but IE _still_ can’t do it (how long has Microsoft been working on that product??). So I’ve been displaying them in PDF files. So convert is a really convenient way to transform the images.

  4. Damian says:

    Oh? I wasn’t aware of that problem in IE. At what size does it fail?

    I had a problem a while ago with IE where it was (and still is, I presume) failing to display TIFFs (or was it CMYK JPGs?) and thought it was due to the colour profile or something. I gave up and simply added instructions to IE users to right-click and download to view.

    I have no hair because of IE and I curse it on a daily basis.

  5. I wasn’t aware of it either until just recently. I couldn’t find much info on it but I did find this: http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/16e6a84c-dd73-4ca1-9a57-fe4f44582d69/

    I just emailed you the file so you can have a look. Yet one more reason to hate IE.

  6. Damian says:

    Just in case someone stumbles across this with a similar problem, A3 and I have played around with this and it appears that some JPEGs will fail to display in IE when saved in Photoshop and perhaps due to the colour profile used. We opened the image in GIMP, resaved it and it works fine now in IE. The same can probably be achieved in Photoshop if you convert the image to RGB but we’ve not tested this.

Leave a Reply