IMG_LoadAVIF_IO(3)
okay bestie, welcome to the IMG_LoadAVIF_IO(3) manual page β she's part of the SDL_image3 FUNCTIONS crew, and she is literally here to help you load a AVIF image directly π
π NAME π
IMG_LoadAVIF_IO β load a AVIF image directly. periodt π
β¨ SYNOPSIS β¨
#include <SDL3_image/SDL_image.h>
SDL_Surface * IMG_LoadAVIF_IO(SDL_IOStream *src);
π DESCRIPTION π
If you know you definitely have a AVIF image, you can call this function, and she will skip SDL_image's file format detection routines entirely. No cap, that's the whole move β¨
Ngl, generally it's better to use the abstract interfaces β and heads up, there is only an SDL_IOStream interface available here π«Ά
πΈ FUNCTION PARAMETERS πΈ
srcβ anSDL_IOStreamto load image data from. That's the source, bestie π
π¦ RETURN VALUE π¦
Returns an SDL surface, or NULL on error π
π₯ AVAILABILITY π₯
This function is available since SDL_image 3.0.0 β yes queen, she's been around since 3.0.0 π
π SEE ALSO π
IMG_LoadBMP_IO(3)IMG_LoadCUR_IO(3)IMG_LoadGIF_IO(3)IMG_LoadICO_IO(3)IMG_LoadJPG_IO(3)IMG_LoadJXL_IO(3)IMG_LoadLBM_IO(3)IMG_LoadPCX_IO(3)IMG_LoadPNG_IO(3)IMG_LoadPNM_IO(3)IMG_LoadQOI_IO(3)IMG_LoadSVG_IO(3)IMG_LoadTGA_IO(3)IMG_LoadTIF_IO(3)IMG_LoadWEBP_IO(3)IMG_LoadXCF_IO(3)IMG_LoadXPM_IO(3)IMG_LoadXV_IO(3)
byeee β¨ this cutie came from SDL_image, version 3.4.4, and this page is IMG_LoadAVIF_IO(3) β mwah ππ
π¦ where this page comes from
- ubuntu stonking: libsdl3-image-doc 3.4.4+ds-2 Β· zlib/libpng AND HPND-like AND zlib-like-permissive
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms