How to Convert Multiple Page PDF to JPG on Mac?

I'd like to convert a multiple page PDF into individual JPG files on my Mac. I need to do this for a project where I need to upload each page individually. I've tried using Preview and other online tools, but they only allow me to convert one page at a time. I have a total of 12 pages, so I'm looking for a way to do this in bulk.

As I'm not very familiar with complex software. Any suggestions or recommendations would be greatly appreciated. Thank you!

Show more Less

Posted on Nov 1, 2023 10:43 PM

Me too (2) Me too Me too (2) Me too Reply

Similar questions

working on imac how to convert a document written using "Pages" to pdf--my Pages document includes photos inserted into document,

problem converting png to pdf I just got the 16 in MacBook Pro, and When I am using preview I am having trouble successfully converting my PNG documents (specifically ones that are multiple pages) to PDF documents. I do it no problem on my 2 year old MacBook Pro but when I try on the new one it changes all the pages to duplicates of page 1.. idk what to do. please help me.

Preview - Export as Separate PNGs Re-asking this question, as I cannot make the original answer work - please help! Original question from See-pee was; In Preview, you can export a PDF as PNGs. How do you have these as separate images that you can then use? I have a 100 page PDF. I would like 100 individual PNGs, but Preview is just creating a single file with 100 pages of PNGs, not 100 PNG files (like you would get when exporting with Adobe or PPT). Luis Sequeira1's response was; You can do this easily with Automator. Maybe there is already a Quick Action you can use, otherwise here is how you create one: 1) Open Automator, and choose Quick Action Make it like this: Save it - as, say "PDF Pages as PNG" 2) Then all you have to do is control-click a pdf file in the Finder, and choose Quick Actions->PDF Pages as PNG In your desktop, you will find a folder called Result, with your numbered pages in PNG format. Suspect I'm missing something out, as I cannot find the folder called Result on my desktop. What am I doing wrong? 2020 M1 Mini running Venture 13.0.1

Loading page content

Page content loaded

User level: Level 10 114,497 points

I have written a Shortcut that when used as a Quick Action on Monterey or later, it will allow you to select a PDF(s), split that PDF into sequentially numbered pages, and then convert each page into a JPG. This particular action would like you to have a PDF_Images folder on your Desktop before running it.

You can access this Split PDF into Images Shortcut at this location, and when you click the link, and then click Get Shortcut, it will be added to your Shortcuts from which you can run it via the Finder Quick Actions menu. You may need to change some settings in System Preferences to enable this as a Quick Action, but try it first to see.

Show more Less User level: Level 10 209,575 points

You can do that with an automator workflow/app configured like this;

You can adjust the about of compression to affect the file size. The maximum dpi available is 300 in systems prior to Ventura. With Ventura it's 200 dpi.

It works like this;

Show more Less User level: Level 10 114,497 points

If you do not want to deal with Shortcuts, I have just revised some attributed AppleScript/Objective-C code that allows you to select the PDF with a file chooser, and the rest is automatic. It is configured to do the following:

  1. Select the PDF
  2. Create an output folder for the split PDF images using the basename of the PDF as the output folder
  3. Split the PDF into 300 DPI (configurable) sequentially numbered JPG images into the folder from [2]

Copy/Paste the following code into an open Apple Script Editor, click the hammer icon to compile it, and then click the run button. The rest is automatic.

-- pdf2image.applescript -- this is the PDF to JPG version -- attribution: https://www.macscripter.net/t/pdf-to-tiff-script/74847 use framework "Cocoa" use framework "PDFKit" use AppleScript version "2.4" -- Yosemite or later use scripting additions property ca : current application property resolution : 300.0 set thePDF to POSIX path of (choose file of type "com.adobe.pdf" default location (path to desktop)) as text my pdf2jpg(thePDF, resolution) return on pdf2jpg(apdf, aresolution) set pdfURL to ca's NSURL's fileURLWithPath:apdf set pdf to ca's PDFDocument's alloc()'s initWithURL:pdfURL set pdfFolder to pdfURL's URLByDeletingLastPathComponent set pdfFileName to (pdfURL's URLByDeletingPathExtension())'s lastPathComponent() set newFolder to pdfFolder's URLByAppendingPathComponent:pdfFileName repeat with i from 1 to pdf's pageCount() set aPage to (pdf's pageAtIndex:(i - 1)) set pageSize to (aPage's boundsForBox:(ca's kPDFDisplayBoxMediaBox)) set pageWidth to ca's NSWidth(pageSize) set pageHeight to ca's NSHeight(pageSize) set pixelWidth to (pageWidth * aresolution / 72) div 1 set pixelHeight to (pageHeight * aresolution / 72) div 1 set theImageRep to (ca's NSPDFImageRep's imageRepWithData:(aPage's dataRepresentation())) set newImageRep to (ca's NSBitmapImageRep's alloc()'s initWithBitmapDataPlanes:(missing value) pixelsWide:pixelWidth pixelsHigh:pixelHeight bitsPerSample:8 samplesPerPixel:4 hasAlpha:yes isPlanar:false colorSpaceName:(current application's NSDeviceRGBColorSpace) bytesPerRow:0 bitsPerPixel:32) ca's NSGraphicsContext's saveGraphicsState() (ca's NSGraphicsContext's setCurrentContext:(ca's NSGraphicsContext's graphicsContextWithBitmapImageRep:newImageRep)) ca's NSColor's whiteColor()'s |set|() ca's NSRectFill(, |size|:>) (theImageRep's drawInRect:, |size|:> fromRect:(ca's NSZeroRect) operation:(ca's NSCompositeSourceOver) fraction:1.0 respectFlipped:false hints:(missing value)) ca's NSGraphicsContext's restoreGraphicsState() -- make 300 dpi pages instead of 72 dpi default if this is commented (newImageRep's setSize:) -- if desired -- zero pad counter to three digits set paddedSequence to (ca's NSString's stringWithFormat:("_%02d" & i)) set imageFileName to (pdfFileName's stringByAppendingString:paddedSequence) set theData to (newImageRep's representationUsingType:(ca's NSBitmapImageFileTypeJPEG) |properties|:) -- 0.0 is maximum compresssion and 1.0 is no compression set fileMgr to ca's NSFileManager's defaultManager() -- use the base filename as the folder to create at the current path -- will return true if folder already exists set to (fileMgr's createDirectoryAtURL:newFolder withIntermediateDirectories:true attributes:(missing value) |error|:(reference)) if done as boolean then set theImage to ((newFolder's URLByAppendingPathComponent:imageFileName)'s URLByAppendingPathExtension:"jpg") (theData's writeToURL:theImage atomically:true) end if end repeat return end pdf2jpg