Automated PDF to Image Conversion

thegisguy

Senior member
Jan 15, 2008
292
0
0
I've been working on automating a project at work. The one thing I can't get around so far is converting a PDF to an image format (Jpg, png, I don't much care) without opening Arcobat and manually converting them.

I know there has to be a way to automate it. The thing is it has to be open source OR use Acrobat or distiller.

I can write the batch script I just need a command line solution.

Any ideas?
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
IIRC Acrobat supports automation through ActiveX or DDE which will get you what you need.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
It could also be quickly automated via imagemagick, ghostscript, and php.

Or if you had a mac, applescript (using preview's save as function to safe as jpeg or whatever)
 

drebo

Diamond Member
Feb 24, 2006
7,034
1
81
Imagemagick and ghostscript will get you want you need. Don't even need PHP as imagemagick has a fairly robust command line toolset.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
true, i was thinking php because windows doesn't have a good scripting language in it's shell (batch is just horrid to work with)
 

thegisguy

Senior member
Jan 15, 2008
292
0
0
I looked into Imagemagick early on in my quest and ruled them out for some reason I can't think of now. I'll take another look at it, that is exactly the type of thing I was looking for. Thanks so much to everyone.