Page 1 of 1

How to batch convert .pdf to .gif or .jpg in windows?

Posted: 2007-07-09T01:54:10-07:00
by vincent90152900
How to batch convert .pdf to .gif or .jpg in windows?
Thank you very much for replying.

Re: How to batch convert .pdf to .gif or .jpg in windows?

Posted: 2007-07-09T10:06:41-07:00
by andrewadperfect
Write a script to pull a list of the filenames you want, then execute a convert command on each of them.

There might also be some way to do a command-line command that would do them all at once.

Do you have programming experience?
Do you have Perl installed?

Re: How to batch convert .pdf to .gif or .jpg in windows?

Posted: 2007-07-10T05:38:52-07:00
by Ryland
Try this:
Open a Command Prompt. Change directories to the folder where your PDFs are; for example, if your PDFs are in "C:\My Documents\My eBooks", type in:

cd "C:\My Documents\My eBooks\"

Then type:

dir /on /b *.pdf > pdflist.txt

That will dump a list of PDF files into a text file called "pdflist.txt". Open list.txt in Notepad and add your ImageMagick commands to each line, save it, and rename it to "pdflist.bat". Then go back to your Command Prompt and type "pdflist" to run the batch file you just created.

Re: How to batch convert .pdf to .gif or .jpg in windows?

Posted: 2007-07-10T18:10:02-07:00
by vincent90152900
It is truely helpful.
Many thanks for your replying.
Thank you very much.