[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int IMG_isPNG(SDL_RWops *src)
If the PNG format is supported, then the image data is tested to see if it is readable as a PNG, otherwise it returns false (Zero).
Returns: 1 if the image is a PNG and the PNG format support is compiled into SDL_image. 0 is returned otherwise.
|
See Also:
3.2.14 IMG_LoadPNG_RW,
3.2.3 IMG_LoadTyped_RW