IMG_LoadJXL_IO(3)
π NAME π
okay so bestie, this is IMG_LoadJXL_IO(3), from the SDL_image3 FUNCTIONS manual β and the name says it all: load a JXL image directly. Periodt. β¨
π¦ SYNOPSIS π¦
#include <SDL3_image/SDL_image.h>
SDL_Surface * IMG_LoadJXL_IO(SDL_IOStream *src);
π DESCRIPTION π
If you know you definitely have a JXL image β like, no vibe check needed β you can call this function, and it will skip SDL_image's file format detection routines entirely. The way it just jumps straight in? Iconic. π
Generally it's better to use the abstract interfaces, though. Also lowkey important: there is only an SDL_IOStream interface available here. No other flavor, iykyk. π«Ά
πΈ FUNCTION PARAMETERS πΈ
srcβ anSDL_IOStreamto load image data from. feed me the image data bestie π
β RETURN VALUE β
Returns an SDL_Surface, or NULL on error. Not me manifesting a non-NULL return for you πβ¨
π AVAILABILITY π
This function is available since SDL_image 3.0.0. bestie, it's been here. π
π SEE ALSO π
IMG_LoadAVIF_IO(3)IMG_LoadBMP_IO(3)IMG_LoadCUR_IO(3)IMG_LoadGIF_IO(3)IMG_LoadICO_IO(3)IMG_LoadJPG_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)
that's the whole page, bestie β source: SDL_image, version: 3.4.4, and the date is not listed on this page π«Άβ¨
π¦ 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