GdkPixbuf.PixbufAnimation.get_static_image

### Method

# GdkPixbuf.PixbufAnimation.get_static_image

#### Declaration [src]

    GdkPixbuf*
    gdk_pixbuf_animation_get_static_image (
      GdkPixbufAnimation* animation
    )

#### Description [src]

Retrieves a static image for the animation.

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 image to use as a static unanimated image, which might be the first frame, or something more sophisticated depending on the file format.

If an animation hasn’t loaded any frames yet, this function will return `NULL`.

#### Return value

Returns: `GdkPixbuf`
unanimated image representing the animation
Ownership is not transferred to the caller