Code: Select all
convert.exe image.gif -coalesce -set filename:label %T "frame_%02d_%[filename:label]0.png"
Code: Select all
image_00_%[70.png
Code: Select all
image_0000070.png
Code: Select all
image_0000_70.png
It appears that 4 leading zeros are required in cases like this or else it starts either reading or eating whatever is in the following %[filename:whatever]. It begins behaving normally when it encounters non-variable text again. Is there something I am not doing right?