Gif Animation Question

BlitzPlus Forums/BlitzPlus Programming/Gif Animation Question

DjBigWorm(Posted 2003) [#1]
Does anyone here know or have a way of counting the number of frames in a gif file?
I use the playmovie and drawmovie commands
but there is not time signature on the gif's.
I want to know how to tell when the animation has come to an
end, or just the number of frames would do fine:)

Thanks in advance


Perturbatio(Posted 2003) [#2]
You would either need to study the appropriate GIF format carefully and read the information from the file, or if you know beforehand (i.e. you created the GIF), you could create a simple info file for each GIF that stores the info you need.


DjBigWorm(Posted 2003) [#3]
@Perturbatio
Thanks for the suggestion

I got my lazy butt and looked in the archive
and found this
LoadAnimGif by Peter Scheutz

Thanks Peter:)