Gly.Image.next_frame

### Method

# Gly Imagenext_frame

since: 2.0

#### Declaration [src]

    GlyFrame*
    gly_image_next_frame (
      GlyImage* image
      GError** error
    )

#### Description [src]

Synchronously loads texture and information of the next frame.

For single still images, this can only be called once. For animated images, this function will loop to the first frame, when the last frame is reached.

Available since: 2.0

#### Return value

Type: `GlyFrame`

A new `GlyFrame` on success, or `NULL` with `error` filled in.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.