initialize package:sdl2-image

Initializes SDL2_image by loading support for the chosen image formats. Explicit initialization is optional. You should call this function if you prefer to load image support yourself, at a time when your process isn't as busy. Otherwise, image support will be loaded dynamically when you attempt to load a JPG, PNG, TIF or WEBP-formatted file. You may call this function multiple times.