Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I convert about 100 PNGs to one PDF on a Mac? I'm open to using the command line if it helps.

I have tried using iPhoto, but it quits, not sure why. Saving from Preview doesn't quite do what I want. Thoughts?

share|improve this question

4 Answers 4

up vote 13 down vote accepted

If you have Leopard (10.5 or later) or Lion the easiest way is to use Preview. Just do the following:

  1. Open the first image in Preview
  2. Show the the sidebar (Shift-Command-D)
  3. Drag any additional images to the sidebar
  4. Go to File > Print (Command P)
  5. In the PDF dropdown list select Save as PDF

That's it! You should now have a PDF containing all your images.

If that doesn't work for you, you should look at any third-party solutions such as Adobe Acrobat Pro which has a combine feature or PDFLab.

share|improve this answer
1  
+1 - My suggested solution as well. I've used this method to combine several PDFs by printing, then choosing "Save as PDF" from the print panel. –  SplinterReality Oct 25 '11 at 7:59
    
For me in Snow Leopard, File > Print only printed the first image. I had to select File > Print Selected Images in order to print all of them. –  kldavis4 Jul 23 at 21:09

My method is similar to Marcus's, but works a little better for me when the images are all different sizes and you don't want the PDF to just be all 8.5x11 but to keep each page the size of the original image.

  1. Open the first image in Preview
  2. Show thumbnails (Command-option-2)
  3. Drag any additional images to the sidebar

After this we diverge:

  1. Select all image thumbnails in the sidebar (select one by clicking, then Command-A)
  2. File > Export Selected Images...
  3. Select or create a folder to hold your temporary images, set Format to PDF, and click Choose
  4. Close all original images
  5. Open the LAST exported PDF in Preview (this will become the last page)
  6. Drag all the other exported PDFs to the sidebar and drop ON TOP of the thumbnail for the exported PDF you just opened
  7. This should create a multipage PDF with the images in the same order they were in the Finder. Rename it so you can find it easily, save and you're done.
share|improve this answer

I have been suggesting images-to-pdf.com - no downloads, no uploads needed. make sure to use latest browsers as it seems to do the conversion in pure javascript using HTML5 features.

share|improve this answer
    
Not a great idea with 100+ pages. –  tekknolagi Jun 11 '13 at 3:39
    
agreed. missed that part –  coderguy123 Jun 11 '13 at 13:32
    
That link is down. –  FD_ Nov 23 at 12:15

I prefer using command line tools such as ImageMagick for this type of work. You can install IM with Homebrew:

brew install imagemagick

Afterwards you can do

convert *.jpg output.pdf

and if the resulting PDF is a bit too big you can try:

convert -quality 60 *.jpg output.pdf

Of course ImageMagick also works on other Unix systems, and even on cygwin.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.