GdkPixbufAnimation get number of frames ?
- From: torben hohn <torbenh gmx de>
- To: gtk-dev <gtk-devel-list gnome org>
- Subject: GdkPixbufAnimation get number of frames ?
- Date: 02 Oct 2002 13:18:44 +0200
in the current implementation i can not obtain the number of
frames in a gif animation.
it always loops.
so i can not do
while( gdk_pixbuf_animation_iter_get_delay_time( iter ) != -1 )
put frame into GList and advace iter
I think there should be a property on the iter which can control the
behaviour. (obeying the loop flag on the animation would not work
for me because then loading a looping animation into a GList would
cause an infinite loop.
] [Thread Prev