Skip to main content

IMG_LoadXCF_IO

Function IMG_LoadXCF_IO 

Source
pub unsafe extern "C" fn IMG_LoadXCF_IO(
    src: *mut SDL_IOStream,
) -> *mut SDL_Surface
Expand description

Load a XCF image directly.

If you know you definitely have a XCF image, you can call this function, which will skip SDL_image’s file format detection routines. Generally it’s better to use the abstract interfaces; also, there is only an SDL_IOStream interface available here.

Parameter: src an SDL_IOStream to load image data from.

Returns: SDL surface, or NULL on error.

Available Since: This function is available since SDL_image 3.0.0.

See Also: IMG_LoadAVIF_IO

See Also: IMG_LoadBMP_IO

See Also: IMG_LoadCUR_IO

See Also: IMG_LoadGIF_IO

See Also: IMG_LoadICO_IO

See Also: IMG_LoadJPG_IO

See Also: IMG_LoadJXL_IO

See Also: IMG_LoadLBM_IO

See Also: IMG_LoadPCX_IO

See Also: IMG_LoadPNG_IO

See Also: IMG_LoadPNM_IO

See Also: IMG_LoadQOI_IO

See Also: IMG_LoadSVG_IO

See Also: IMG_LoadTGA_IO

See Also: IMG_LoadTIF_IO

See Also: IMG_LoadWEBP_IO

See Also: IMG_LoadXPM_IO

See Also: IMG_LoadXV_IO