IMG_Animation(3type)

IMG_Animation3type

Animated image support

Usage

#include "SDL3_image/SDL_image.h"

typedef struct IMG_Animation { int w, h; int count; SDL_Surface **frames; int *delays; } IMG_Animation;

Header file

Defined in SDL3_image/SDL_image.h

Overview

Currently only animated GIFs and WEBP images are supported.

From libsdl3-image-doc 3.2.4+ds-1+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.