Languages

Menu
Sites
Language

Play Animation gif once with elmentary image.

elm_image_animated_set, elm_image_animated_play_set can't control repetition of gif animation. Following snippet show the how to play animation with evas image object in elementary image object and repetition control.

Responses

1 Replies
SinJae Lee

It is very useful example, but I found a few bugs

 

line 6. int frame_duration; SHOULD have "double" type, not int

line 64. it seems better to reset NULL for anim_timer after timer deletion.