12

What would be the quickest way to convert a bunch of pdf files to jpeg files? I know I can open Preview and Save As image, but that could take a long time.

1

2 Answers 2

29

Automator has a "Render PDF Pages to Images" action. Under Snow Leopard and El Capitan, there's a wizard that pops up when you run Automator asking you to choose a template. The second template is "Application":

Applications are self-running workflows. Any files or folders dropped onto an Application will be used as input to the workflow.

So:

  • Open Automator
  • Choose "Application"
  • Drag the "Render PDF Pages to Images" action onto the workflow
  • This action produces random filenames, so follow it with "Rename Finder Items" (choose "Make sequential" from the dropdown list(you can skip this action in Sierra as it no longer exists and it just uses original file name)
  • Then add a "Move Finder Items" to have the output files moved to the Desktop (You can click on the "desktop" and choose a different location for the output files to go)
  • Save your new application somewhere (I suggest saving to the desktop makes it easy for drag and drop)
  • Drag files onto it
  • Enjoy.
5
  • Hmm...I tried it, but where does the output file go? I don't see anything.
    – RdSchull
    Dec 28, 2009 at 5:19
  • The help text for the action (lower-left corner of Automator) has a note saying that the output files are randomly named - "this action is often followed by the Rename Finder Items -> Make Sequential" action. I did that, and added a "Move finder items" to move them to the Desktop as well. Sorry for being unclear - I've added these steps into the list of actions. Dec 28, 2009 at 5:56
  • This doesn't seem to work for me... I launch the app and it just hangs and does nothing.
    – Joe
    Nov 2, 2011 at 12:45
  • @joe - That's correct. You're not meant to launch the workflow, you just drag-and-drop the files onto the icon Dec 12, 2011 at 0:00
  • How would you make it save the file in place, instead of to a specified folder such as the desktop?
    – Ryenski
    May 25, 2012 at 15:35
0

How about pdf2jpg?

PDF2JPG is a droplet based application for converting any number of files you drop on it into either JPG or PNG format, also allows you to select compression level when converting to JPG. This application requires that you have the ImageMagick libraries installed from Fink. Information on installing ImageMagick and, if needed, Fink as well.

1
  • Link is dead! :(
    – jtlz2
    Nov 27, 2023 at 12:39

You must log in to answer this question.