Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

djsound

macrumors 6502a
Original poster
Dec 4, 2006
791
17
Anyone know how to batch convert 120 pdf's to jpg or something similar so that they can be placed on a website? Thanks,
 
Preview can do it. As long as you are not looking to batch rename at same time. Just tried it. Opened several PDF's and with all PDF's selected, went under File>Export Selected PDF Documents and Format to JPEG when window opens. Just choose where you want them stored and you are all set.
 

Attachments

  • Screen Shot 2013-06-28 at 2.45.46 PM.png
    Screen Shot 2013-06-28 at 2.45.46 PM.png
    128 KB · Views: 2,184
  • Screen Shot 2013-06-28 at 2.47.17 PM.png
    Screen Shot 2013-06-28 at 2.47.17 PM.png
    126.7 KB · Views: 2,081
Wow firedept your the hero of the day.!! Thanks much and thanks for taking the time to capture the screen and all. :)


edit ------ that did work nice but.....when opening in photoshop for instance it asks to crop to bounding box....and I like this option...the preview option does not do this unfortunately. =(
 
Last edited:
Wow firedept your the hero of the day.!! Thanks much and thanks for taking the time to capture the screen and all. :)


edit ------ that did work nice but.....when opening in photoshop for instance it asks to crop to bounding box....and I like this option...the preview option does not do this unfortunately. =(

If you like how Photoshop does that, you can also setup a Photoshop action and then use the batch feature from the File menu. Sounds like you already took care of it, but just FYI for future reference. :)
 
Actually no i didn't get it. I could not see an action for cropping to bounding box...
 
Actually no i didn't get it. I could not see an action for cropping to bounding box...

Apologies didn't mean an action for cropping to the bounding box. That part is a manual step. What I meant was that you can create your own custom action for saving as JPEG. Then with all your PDFs in the same folder, use the File -> Automate -> Batch command to open them up (you have to specify the source folder in the Batch options window). Cropping to bounding box would happen as each PDF opens--that is, once you set it to bounding box on the first PDF, it should stay that way for all the remaining PDFs that you batch (until you close Photoshop I assume). But you will probably have to click okay for each PDF - that's the only thing that wouldn't be automated AFAIK.
 
This would be great if it works. I am ok with manually licking past the bounding box window.....I cant get it to auto save as png though.....attached is the settings that I used....it did open everything in the folder....but I can t see how to autosave them all as .png's to this new folder that I created... =/
 

Attachments

  • Screen Shot 2013-07-01 at 11.56.34 AM.png
    Screen Shot 2013-07-01 at 11.56.34 AM.png
    172.1 KB · Views: 879
If you wanted to be super-showoffy (and you just have single page pdfs) then you could do it like this in Terminal:

Code:
find ~/Desktop/blah -name "*.pdf" | while read thePDFFile; do theOutputFilePath=`echo "$thePDFFile" | sed "s/pdf/jpg/g"` ; sips -s format jpeg "$thePDFFile" --out "$theOutputFilePath";  done

...just replace ~/Desktop/blah with a path to a folder containing your PDF files.
 
  • Like
Reactions: tomnavratil
If you want to place the resulting JPEGs in their own folder, create a folder for them. Otherwise, skip to the next step. I figure it’s safest to at least temporarily have them all go to a separate folder, to easily later check that they were all created.
Let's hope he/she figured it over the past 5 years or so since the OP... Besides, Automator accomplishes this conversion QED for free and no need for Acrobat.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.