I've got a certain number of png files, named
2.png, etc. and need to make an animation with them.
convert -delay 20 *.png animation.gif.
The first time I used it, it happened that the animation created started at 10 then 11 then 12, all the way up to 19 and then it goes to 2! It's logical, but I don't want that. So what I did was modify the names to
That was OK at the beginning. Now, I want to make a gif with more images(thousands), and the problem is that when it goes 10 for example, it goes to 100! I can't be modifying the names manually, because all this is part of a script, and the user chooses how many png he wants. So, how to solve?