Package: gdk-pixbuf

Function gdk-pixbuf:pixbuf-animation-static-image

Lambda List

gdk-pixbuf:pixbuf-animation-static-image (animation)

Arguments

animation -- a gdk-pixbuf:pixbuf-animation object

Return Value

Unanimated gdk-pixbuf:pixbuf image representing the animation.

Details

If an animation is really just a plain image, has only one frame, this function returns that image. If the animation is an animation, this function returns a reasonable thing to display as a static unanimated image, which might be the first frame, or something more sophisticated. If an animation has not loaded any frames yet, this function will return nil.

Warning

This function is deprecated since 2.44. Use a different image loading library for animatable assets.
 

See also

#2026-09-26