SDL_image API

The sdl.image module exposes the SDL_image API without the IMG_ prefix.

See also http://www.libsdl.org/projects/SDL_image/

sdl.image.isPNG(src)

int IMG_isPNG(SDL_RWops *)

sdl.image.load(file)

SDL_Surface * IMG_Load(char const *)

sdl.image.isTIF(src)

int IMG_isTIF(SDL_RWops *)

sdl.image.loadPNG_RW(src)

SDL_Surface * IMG_LoadPNG_RW(SDL_RWops *)

sdl.image.loadTextureTyped_RW(renderer, src, freesrc, type)

SDL_Texture * IMG_LoadTextureTyped_RW(SDL_Renderer *, SDL_RWops *, int, char const *)

sdl.image.isXCF(src)

int IMG_isXCF(SDL_RWops *)

sdl.image.loadJPG_RW(src)

SDL_Surface * IMG_LoadJPG_RW(SDL_RWops *)

sdl.image.isXV(src)

int IMG_isXV(SDL_RWops *)

sdl.image.savePNG_RW(surface, dst, freedst)

int IMG_SavePNG_RW(SDL_Surface *, SDL_RWops *, int)

sdl.image.isICO(src)

int IMG_isICO(SDL_RWops *)

sdl.image.loadBMP_RW(src)

SDL_Surface * IMG_LoadBMP_RW(SDL_RWops *)

sdl.image.quit()

void IMG_Quit(void)

sdl.image.savePNG(surface, file)

int IMG_SavePNG(SDL_Surface *, char const *)

sdl.image.loadLBM_RW(src)

SDL_Surface * IMG_LoadLBM_RW(SDL_RWops *)

sdl.image.loadXPM_RW(src)

SDL_Surface * IMG_LoadXPM_RW(SDL_RWops *)

sdl.image.loadPNM_RW(src)

SDL_Surface * IMG_LoadPNM_RW(SDL_RWops *)

sdl.image.isJPG(src)

int IMG_isJPG(SDL_RWops *)

sdl.image.init(flags)

int IMG_Init(int)

sdl.image.isWEBP(src)

int IMG_isWEBP(SDL_RWops *)

sdl.image.loadTIF_RW(src)

SDL_Surface * IMG_LoadTIF_RW(SDL_RWops *)

sdl.image.isPNM(src)

int IMG_isPNM(SDL_RWops *)

sdl.image.loadPCX_RW(src)

SDL_Surface * IMG_LoadPCX_RW(SDL_RWops *)

sdl.image.readXPMFromArray(xpm)

SDL_Surface * IMG_ReadXPMFromArray(char * *)

sdl.image.loadICO_RW(src)

SDL_Surface * IMG_LoadICO_RW(SDL_RWops *)

sdl.image.loadTexture(renderer, file)

SDL_Texture * IMG_LoadTexture(SDL_Renderer *, char const *)

sdl.image.isPCX(src)

int IMG_isPCX(SDL_RWops *)

sdl.image.loadXV_RW(src)

SDL_Surface * IMG_LoadXV_RW(SDL_RWops *)

sdl.image.loadWEBP_RW(src)

SDL_Surface * IMG_LoadWEBP_RW(SDL_RWops *)

sdl.image.load_RW(src, freesrc)

SDL_Surface * IMG_Load_RW(SDL_RWops *, int)

sdl.image.loadTGA_RW(src)

SDL_Surface * IMG_LoadTGA_RW(SDL_RWops *)

sdl.image.loadXCF_RW(src)

SDL_Surface * IMG_LoadXCF_RW(SDL_RWops *)

sdl.image.isCUR(src)

int IMG_isCUR(SDL_RWops *)

sdl.image.isBMP(src)

int IMG_isBMP(SDL_RWops *)

sdl.image.loadCUR_RW(src)

SDL_Surface * IMG_LoadCUR_RW(SDL_RWops *)

sdl.image.loadGIF_RW(src)

SDL_Surface * IMG_LoadGIF_RW(SDL_RWops *)

sdl.image.linked_Version()

SDL_version const * IMG_Linked_Version(void)

sdl.image.isLBM(src)

int IMG_isLBM(SDL_RWops *)

sdl.image.loadTyped_RW(src, freesrc, type)

SDL_Surface * IMG_LoadTyped_RW(SDL_RWops *, int, char const *)

sdl.image.loadTexture_RW(renderer, src, freesrc)

SDL_Texture * IMG_LoadTexture_RW(SDL_Renderer *, SDL_RWops *, int)

sdl.image.isXPM(src)

int IMG_isXPM(SDL_RWops *)

sdl.image.isGIF(src)

int IMG_isGIF(SDL_RWops *)

Previous topic

SDL API

Next topic

SDL_mixer API

This Page