SDL_image 3.0
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 optional libraries. It can save BMP, GIF, JPEG, PNG, and TGA images. It can also save AVIF and WebP images, depending on optional libraries.
This is designed as a convenience library for loading images from trusted sources. Crashes or other issues with invalid content should not be considered security issues. If you want to load arbitrary images you should use an image loading library designed with security in mind.
The latest version of this library is available from GitHub: https://github.com/libsdl-org/SDL_image/releases
Installation instructions and a quick introduction is available in INSTALL.md
This library is distributed under the terms of the zlib license, available in LICENSE.txt.
Enjoy!
Sam Lantinga (slouken@libsdl.org)