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