Page 1 of 1

convert pdf (over 11 pages) to jpg -> outputfile numbering

Posted: 2012-11-13T07:53:25-07:00
by paschi.baehler
If I convert a PDF with more then 11 pages, the outputfiles generated are like the following:

convert input.pdf output.jpg

output-0.jpg
output-1.jpg
output-2.jpg
..
output-10.jpg

How can I add a leading "0" by the first 10 pages in the Outputfile. I like to have the output like this:

output-00.jpg
output-01.jpg
output-02.jpg
..
output-10.jpg

And is it possible to start with output-01.jpg instead of output-01.jpg?

Thanks for the help!

Re: convert pdf (over 11 pages) to jpg -> outputfile numberi

Posted: 2012-11-13T10:42:31-07:00
by glennrp

Code: Select all

convert input.pdf output-%02d.jpg

Re: convert pdf (over 11 pages) to jpg -> outputfile numberi

Posted: 2012-11-15T03:41:26-07:00
by whugemann
And is it possible to start with output-01.jpg instead of output-01.jpg?
Add the option
-scene 1
to the command line.