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