Scroll to navigation

IMG_LoadPCX_RW(3) SDL_image3 FUNCTIONS IMG_LoadPCX_RW(3)

NAME

IMG_LoadPCX_RW - Load a PCX image directly.

SYNOPSIS

#include "SDL3_image/SDL_image.h"
SDL_Surface * IMG_LoadPCX_RW(SDL_RWops *src);

DESCRIPTION

If you know you definitely have a PCX 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_RWops interface available here.

FUNCTION PARAMETERS

an SDL_RWops to load image data from.

RETURN VALUE

Returns SDL surface, or NULL on error

AVAILABILITY

This function is available since SDL_image 3.0.0.

SEE ALSO

IMG_LoadAVIF_RW(3), IMG_LoadICO_RW(3), IMG_LoadCUR_RW(3), IMG_LoadBMP_RW(3), IMG_LoadGIF_RW(3), IMG_LoadJPG_RW(3), IMG_LoadJXL_RW(3), IMG_LoadLBM_RW(3), IMG_LoadPNG_RW(3), IMG_LoadPNM_RW(3), IMG_LoadSVG_RW(3), IMG_LoadQOI_RW(3), IMG_LoadTGA_RW(3), IMG_LoadTIF_RW(3), IMG_LoadXCF_RW(3), IMG_LoadXPM_RW(3), IMG_LoadXV_RW(3), IMG_LoadWEBP_RW(3)

SDL_image 3.0.0 SDL_image