Skip to main content

IMG_CloseAnimationEncoder

Function IMG_CloseAnimationEncoder 

Source
pub unsafe extern "C" fn IMG_CloseAnimationEncoder(
    encoder: *mut IMG_AnimationEncoder,
) -> bool
Expand description

Close an animation encoder, finishing any encoding.

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

Parameter: encoder the encoder to close.

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

Available Since: This function is available since SDL_image 3.4.0.

See Also: IMG_CreateAnimationEncoder

See Also: IMG_CreateAnimationEncoder_IO

See Also: IMG_CreateAnimationEncoderWithProperties