Page 1 of 1

File name default numbering sequence

Posted: 2012-07-27T10:03:25-07:00
by sweerasinghe
Hi,

I am using the command:

Code: Select all

convert -quality 50  IN.pdf %d.png
So this creates a set of images
0.png, 1.png, 2.png, 3.png…
Is there a way to change the default numbering sequence to start from 1 instead of 0.
Tried this command too, but no progress

Code: Select all

convert -quality 50  IN.pdf [%d+1].png 
I prefer not to have all the images rename.

Thanks in advance!

Re: File name default numbering sequence

Posted: 2012-07-27T10:06:49-07:00
by fmw42
Your syntax should probably be revised for IM 6, though it may not matter.

try

convert IN.pdf -scene 1 -quality 50 %d.png

see
http://www.imagemagick.org/Usage/basics/#why
http://www.imagemagick.org/script/comma ... .php#scene

Re: File name default numbering sequence

Posted: 2012-07-27T10:15:57-07:00
by sweerasinghe
Thanks a lot! -scene does what I was looking for. Also thank you for pointing the IM 6 syntaxes too. :)