Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Sequential file numbering...
March 22, 2005, 3:00 am
rate this thread
Slightly off topic...
If I have a series of images that I want to convert to an animated gif
using the command line tool 'convert' from imagemagick, they cannot be
Because this is seen as:
So I am trying to write a PHP script that will sequentially convert and
number a series of images, and I won't know ahead of time how many will
be in a given sequence. This files are originally randomly numbered,
but the sequence information can be extracted, and their order
determined. I then want to rename them, and I'm thinking I should use:
This works, and I guess I'll just need to tally the number of images,
and figure out if the 'lefthand' zeroes should be taken to the hundreds
and thousands place.
Anyone else know a simpler way around this problem?