Currently we use a stopwatch to determine the Total duration of Animation on the gif banners.
Already referred to the imagemagick solutions - How to determine the length of a .gif animation in milliseconds
Sample gif banner: http://i.stack.imgur.com/JTz79.gif
Actual Stats:-
Iterations = 20
Duration - Frame 1 = 0.5 secs
Duration - Frame 2 = 0.5 secs
Total Time = 20*(0.5+0.5) = 20 secs
Stats provided by ImageMagick:-
Using - identify -verbose betsy.gif | grep -E 'Iterations|Elapsed'
Iterations: 19
Elapsed time: 0:01.000
Elapsed time: 0:01.040
Total Time = 1.040*19 = 19.76 secs
Is there any other way (except for using a physical stopwatch) to find the exact Duration of the Animation programmatically?