Using this you can compare the runtime version to the version that you compiled with.
This function gets the version of the dynamically linked SDL_image library in an Sdl.SDL_version struct.
Binds to C-function call in SDL_image.h:
const SDL_version * IMG_Linked_Version(void)
SdlImage Class | Tao.Sdl Namespace