Function: Converts the selected images to a single PDF file.
Author: Rhet Turnbull
Notes: Files are ordered based on ascending name (since the Finder doesn’t pass selected items in the order they appear in the Finder window) but this can be changed by editing the workflow. The resultant PDF is opened in Preview and will need to be saved manually (the file is created in /private/tmp).
This is an awesome script–the only bugs it’s given me are 1) it is doubling images and 2) it chokes if some of the image files have different file formats. I had a PNG mixed in with a couple hundred JPGs and kept getting the same error message. Finally, I left the PNG out of the mix and everything was fine.
Still, I’d love to see the double vision go away. Any idea what’s causing it? I’m under Snow Leopard. Thanks for this great workflow!!
Comment by thepete — December 5, 2009 @ 9:21 pm
This worked great except for one thing. It resized the images to 8.5 x 11. This happens with several other convert to pdf solutions I’ve tried. I’m assuming it has something to do with the CUPS/PPD? Is there a way to retatin the original size. I’m trying to save multiple jpeg files to single pdf.
Comment by Keith — September 1, 2009 @ 3:31 pm
@Maedi glad it’s useful! I don’t like the fact that landscape images are converted to portrait pages but havent’ found an easy way around that for the Automator action. If do figure it out, I’ll post an update. Cheers! -Rhet
Comment by Rhet Turnbull — April 30, 2009 @ 2:18 pm
Very very useful, thanks! This script will convert landscape images to portrait in PDF, if this is not desirable then open the PDF in Preview, select all, and go to Tools -> Rotate left.
Comment by Maedi — April 19, 2009 @ 12:34 am
James: glad you found it useful! Cheers, –Rhet
Comment by Rhet Turnbull — November 8, 2008 @ 6:00 pm