IMG_GETANIMATIONDECODERSTATUS(3)
π IMG_GetAnimationDecoderStatus β a lil peek inside your decoder π
okay bestie, so this one's from the SDL_image3 FUNCTIONS corner of the SDL_image universe (section 3 of the manual, iykyk), and it's literally the vibe check for your animation decoder. you've got a decoder, it's doing decoder things, and you just wanna know what state is it in right now?? that's the whole job. that's it. she's simple, she's iconic, she serves. π
β¨ NAME β¨
IMG_GetAnimationDecoderStatus β get the decoder status, aka the current state of the decoder. that's the tea. π
πΈ SYNOPSIS πΈ
#include <SDL3_image/SDL_image.h>
IMG_AnimationDecoderStatus IMG_GetAnimationDecoderStatus(IMG_AnimationDecoder *decoder);
π¦ FUNCTION PARAMETERS π¦
decoderβ the decoder you want the status of. the one you're side-eyeing. the one you're asking "girl, what's going on with you" π«Ά
β RETURN VALUE β
she hands you back the status of the underlying decoder π
BUT β and this is the important part, no cap β if the decoder you passed in is invalid, you get IMG_DECODER_STATUS_INVALID back. so like, if you fed her garbage, she tells you it's garbage. respect. π
π AVAILABILITY π
this one's been around since SDL_image 3.4.0. vintage-ish, but make it fresh. β¨
π SEE ALSO π
bestie reminder: check thatdecoderpointer before you go asking for statuses, or you're gonna meetIMG_DECODER_STATUS_INVALIDface to face π
and that's the whole page, periodt π stay slay, keep decoding, and go read IMG_GetAnimationDecoderFrame(3) next because she's the main character energy follow-up πΈ
later babes β this was the SDL_image page for SDL_image 3.4.8 ππ¦β¨
π¦ where this page comes from
- fedora 43: SDL3_image-devel 3.4.8-1.fc43 Β· Zlib AND (HPND-Pbmplus AND Zlib) AND MIT AND (MIT OR Unlicense) AND LicenseRef-Fedora-Public-Domain
- fedora 43: SDL3_image-devel 3.4.8-1.fc43 Β· Zlib AND (HPND-Pbmplus AND Zlib) AND MIT AND (MIT OR Unlicense) AND LicenseRef-Fedora-Public-Domain
- fedora 44: SDL3_image-devel 3.4.8-1.fc44 Β· Zlib AND (HPND-Pbmplus AND Zlib) AND MIT AND (MIT OR Unlicense) AND LicenseRef-Fedora-Public-Domain
- fedora 44: SDL3_image-devel 3.4.8-1.fc44 Β· Zlib AND (HPND-Pbmplus AND Zlib) AND MIT AND (MIT OR Unlicense) AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms