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?
Complex Image Output Sequence Filename
Re: Complex Image Output Sequence Filename
Add -scene 1 to your command line (just before the output filename).
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Complex Image Output Sequence Filename
See IM examples, Writing Multiple Images, Starting (Scene) Number
http://www.imagemagick.org/Usage/files/#scene
http://www.imagemagick.org/Usage/files/#scene
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/