IMG_CloseAnimationDecoder(3)

πŸ“¦
version 3.4.8 Β· 5 versions
, in fedora 43, fedora 44

✨ NAME ✨

okay bestie, welcome to the SDL_image3 FUNCTIONS page for IMG_CloseAnimationDecoder(3) β€” it's giving β€œclose an animation decoder, finishing any decoding” πŸ’…

IMG_CloseAnimationDecoder β€” close an animation decoder, finishing any decoding. periodt.


🌸 SYNOPSIS 🌸

#include <SDL3_image/SDL_image.h>

bool IMG_CloseAnimationDecoder(IMG_AnimationDecoder *decoder);

πŸ¦‹ DESCRIPTION πŸ¦‹

Calling this function frees the animation decoder, and returns the final status of the decoding process. no cap, it's literally wrapping up the whole decode situation and handing you back the final tea β˜•βœ¨


πŸŽ€ FUNCTION PARAMETERS πŸŽ€

  • decoder β€” the decoder to close. that's the one you're saying bye to, bestie 🫢

πŸ’– RETURN VALUE πŸ’–

Returns true on success or false on failure; call SDL_GetError() for more information. so if it's acting up, go ask SDL_GetError() what's wrong, iykyk 😭


⭐ AVAILABILITY ⭐

This function is available since SDL_image 3.4.0. iconic behavior, honestly πŸ‘‘


🌈 SEE ALSO 🌈


bestie reminder: this page is from SDL_image, version SDL_image 3.4.8, and the manual page is IMG_CloseAnimationDecoder(3). mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from