IMG_CloseAnimationEncoder - Man Page

Close an animation encoder, finishing any encoding.

Synopsis

#include <SDL3_image/SDL_image.h>

bool IMG_CloseAnimationEncoder(IMG_AnimationEncoder *encoder);

Description

Calling this function frees the animation encoder, and returns the final status of the encoding process.

Function Parameters

encoder

the encoder to close.

Return Value

Returns true on success or false on failure; call SDL_GetError() for more information.

Availability

This function is available since SDL_image 3.4.0.

See Also

IMG_CreateAnimationEncoder(3), IMG_CreateAnimationEncoder_IO(3), IMG_CreateAnimationEncoderWithProperties(3)

Referenced By

IMG_AddAnimationEncoderFrame(3), IMG_CreateAnimationEncoder(3), IMG_CreateAnimationEncoder_IO(3), IMG_CreateAnimationEncoderWithProperties(3).

SDL_image 3.4.0 SDL_image3 FUNCTIONS