Batch converting pdf to jpeg

Discussion in 'Design and Graphics' started by djsound, Jun 28, 2013.

  1. djsound macrumors 6502a

    djsound

    Joined:
    Dec 4, 2006
    #1
    Anyone know how to batch convert 120 pdf's to jpg or something similar so that they can be placed on a website? Thanks,
     
  2. firedept macrumors 603

    firedept

    Joined:
    Jul 8, 2011
    Location:
    Somewhere!
    #2
    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.
     

    Attached Files:

  3. djsound, Jun 28, 2013
    Last edited: Jun 28, 2013

    djsound thread starter macrumors 6502a

    djsound

    Joined:
    Dec 4, 2006
    #3
    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. =(
     
  4. macuser453787 macrumors 6502

    Joined:
    May 19, 2012
    Location:
    Galatians 3:13-14
    #4
    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. :)
     
  5. djsound thread starter macrumors 6502a

    djsound

    Joined:
    Dec 4, 2006
    #5
    Actually no i didn't get it. I could not see an action for cropping to bounding box...
     
  6. macuser453787 macrumors 6502

    Joined:
    May 19, 2012
    Location:
    Galatians 3:13-14
    #6
    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.
     
  7. djsound thread starter macrumors 6502a

    djsound

    Joined:
    Dec 4, 2006
    #7
    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... =/
     

    Attached Files:

  8. DemonMF777 macrumors member

    DemonMF777

    Joined:
    Feb 27, 2014
    Location:
    S. Florida
  9. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #9
    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.
     
  10. MasterNeed_Team macrumors newbie

    MasterNeed_Team

    Joined:
    May 8, 2017

Share This Page