Create a decoder to read a series of images from a file.
Defined in <SDL3_image/SDL_image.h>
const char *file); IMG_AnimationDecoder * IMG_CreateAnimationDecoder(
const char * | file | the file containing a series of images. |
(IMG_AnimationDecoder *) Returns a new IMG_AnimationDecoder, or NULL on failure; call SDL_GetError() for more information.
The file type is determined from the file extension, e.g. "file.webp" will be decoded using WEBP.
This function is available since SDL_image 3.4.0.