libsdl-org /SDL_image
Image decoding for many popular formats for Simple Directmedia Layer.
★ 1,000⑂ 294👁 19⑃ 315● 455▤ 32
+1
日增长
1,000
stars
294
forks
19
watchers
315
prs
455
issues
32
releases
README
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. 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 ([email protected])
Top issues
#682PNG fails on Emscripten21 comments · 2026-01-21#552Failed to build SDL_image if it is a submodule under a parent module19 comments · 2025-04-24#450jpeg-xl test have been failing on macos11 comments · 2024-05-02#486Misaligned address SIGBUS in CGImageSourceCreateImageAtIndex9 comments · 2024-12-08#761SDL_image 2 and 3 building: CMake confuses libwebpdemux.a for libwebpdemux.so7 comments · 2026-09-03#424SEGMENTATION FAULT with IMG_Load_RW in SDL26 comments · 2024-02-09#557Add the possibility to load an image into a pre-allocated memory buffer / surface4 comments · 2025-05-21#508KTX support4 comments · 2025-01-23
Latest release
3.4.8 release-3.4.8 2026-10-05This is a stable bugfix release, with the following changes: Load single GIF images as 8-bit indexed images