Question: I found [these](http://www.medicalnerds.com/batch-converting-images-using-imagemagick/) [posts](http://www.medicalnerds.com/batch-converting-pdf-to-jpgjpeg-using-free-software/) on converting a PDF to JPG using ImageMagick. However, I have a 12 page PDF I want to convert into 12 separate high quality jpg files.

Looking for the least tedious way possible.

Thanks.

Answer: 
I would recommend GhostScript:

```
gs -sDEVICE=jpeg -r300x300 -dNOPAUSE -dBATCH -sOutputFile="image00.jpg" "input.pdf"

```

`r` parameter is resolution

```
gs -sDEVICE=jpeggray -r300x300 -dNOPAUSE -dBATCH -sOutputFile="image00.jpg" "input.pdf"

```

This one is for grayscale output.
If you have a Mac this is very easy to do using Automator. You just need three actions:

Ask for finder items
Render PDF pages as images
Move finder items
You can even select the color model, format (12 available), resolution and compression quality. Just to test it out, I converted a PDF file I have here with 207 pages:

Using "600dpi/RGB/best quality possible" it took an hour to convert to JPEG.
Using "300dpi/RGB/60% quality" it took about 5 minutes to convert to JPEG.
(My laptop have a Core 2 Duo 2.26Ghz)