Need help with numeric padding in image sequences

Blitz3D Forums/Blitz3D Beginners Area/Need help with numeric padding in image sequences

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hello everyone,

I have an image sequence that i'm loading into an array but i'm having problems due to numeric padding. My sequence has more than 10 frames so for the sake of previewing my sequence in an image viewer I need to index the first nine frames as: run_01.png, run_02.png, etc.

When I try to load the image sequence into an array it doesn't seem to like the numeric padding although when I manually strip the padding (by renaming the files run_1.png, etc) the sequence loads into the array perfectly.

Does anyone know how I can retain the numeric padding and load my image sequence into an array?

Cheers!