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