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