---
name: "IMG_Animation"
section: "3type"
platform: "linux"
package: "libsdl3-image-doc"
version: "3.2.4+ds-1+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/IMG_Animation"
---

# IMG\_Animation(3type)

Animated image support

## NAME

IMG\_Animation - Animated image support

## HEADER FILE

Defined in SDL3\_image/SDL\_image.h

## SYNOPSIS

```
#include "SDL3_image/SDL_image.h"
```

**typedef struct IMG\_Animation** **{** 	**int w, h;** 	**int count;** 	**SDL\_Surface \*\*frames;** 	**int \*delays;** **} IMG\_Animation;**

## DESCRIPTION

Currently only animated GIFs and WEBP images are supported.
