Complex Image Output Sequence Filename
Posted: 2011-03-09T08:43:50-07:00
HI,
I'm converting Multiple page PDFs to individual GIF files. I'm using this syntax:
convert $destfile.pdf $destfile%02d.gif
which yields:
filename00.gif
filename01.gif
....
filename010.gif.
The problem is that I'm trying to make it out put like this:
filename001.gif
filename002.gif
....
filename010.gif
filename011.gif
....
I would like the image filename sequence to start at 1, not 0, and have 3 number places. I thought this would work: convert $destfile.pdf $destfile%03d.gif, but for one it doesn't let me start at 1.
Any ideas?
I'm converting Multiple page PDFs to individual GIF files. I'm using this syntax:
convert $destfile.pdf $destfile%02d.gif
which yields:
filename00.gif
filename01.gif
....
filename010.gif.
The problem is that I'm trying to make it out put like this:
filename001.gif
filename002.gif
....
filename010.gif
filename011.gif
....
I would like the image filename sequence to start at 1, not 0, and have 3 number places. I thought this would work: convert $destfile.pdf $destfile%03d.gif, but for one it doesn't let me start at 1.
Any ideas?