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