Test for valid, supported XPM file.
1 if the image is a XPM and the XPM format support is compiled into SDL_image. 0 is returned otherwise.
Binds to C-function in SDL_image.h
int IMG_isXPM(SDL_RWops *src)
// Test sample.xpm to see if it is a XPM SDL_RWops *rwop; rwop=SDL_RWFromFile("sample.xpm", "rb"); if(IMG_isXPM(rwop)) printf("sample.xpm is a XPM file.\n"); else printf("sample.xpm is not a XPM file, or XPM support is not available.\n");
SdlImage Class | Tao.Sdl Namespace | IMG_LoadTyped_RW