This is the SDL3 wiki. SDL2 is over here!
This is a simple library to load images of various formats as SDL surfaces. It can load BMP, GIF, JPEG, LBM, PCX, PNG, PNM (PPM/PGM/PBM), QOI, TGA, XCF, XPM, and simple SVG format images. It can also load AVIF, JPEG-XL, TIFF, and WebP images, depending on build options.
This library is distributed under the zlib license. This license allows you to use it freely in any software.
We hope you find everything you are looking for and enjoy using SDL_image!
If anything is not addressed somewhere here, feel free to open an issue or submit a pull request.
Enjoy!