Save an animation to a file.
Defined in <SDL3_image/SDL_image.h>
bool IMG_SaveAnimation(IMG_Animation *anim, const char *file);| IMG_Animation * | anim | the animation to save. |
| const char * | file | path on the filesystem containing an animated image. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
For formats that accept a quality, a default quality of 90 will be used.
This function is available since SDL_image 3.4.0.