GdkPixbufAnimation get number of frames ?



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
loop
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.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]