Close an animation encoder, finishing any encoding.
Defined in <SDL3_image/SDL_image.h>
bool IMG_CloseAnimationEncoder(IMG_AnimationEncoder *encoder);
IMG_AnimationEncoder * | encoder | the encoder to close. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
Calling this function frees the animation encoder, and returns the final status of the encoding process.
This function is available since SDL_image 3.4.0.