views:

7

answers:

0

Using Ghostscript I want to create ~330 PNG files from a PDF (photobook I was given as a gift). Now I want to put these pictures online. I'm aware of the method to use -sOutputFile=somename--%03d.png which will give me numbered PNG filenames along the pattern somename--001.png, somename--002.png, etc. However, I want to put ~25-30 more pictures online, and these should have the lower numbered names.

Question: I need to have filenames for the converted PDF output start with "31", i.e. somename--031.png. If I use the Ghostscript numbering method, I do have to manually rename all the PNG files... *shudder*. Is there a way to let Ghostscript's numbering start with "031"? Some hidden parameter to %03d maybe?