Image decoding for many popular formats for Simple Directmedia Layer.
  • C 91.1%
  • C++ 4.4%
  • Perl 1.5%
  • CMake 1.5%
  • Python 1.1%
  • Other 0.2%
Find a file
2026-05-04 10:31:37 +03:00
.github ci: bump actions to v6 2026-02-01 23:36:12 +01:00
build-scripts cmake: update variables in SDL3_imageConfig.cmake of release artifacts 2026-01-23 21:41:33 +01:00
cmake cmake: define SDLIMAGE_PNG_LIBPNG in SDL3_imageConfig.cmake 2026-01-23 21:41:33 +01:00
docs Updated copyright for 2026 2026-01-01 11:19:46 -08:00
examples Clarify that the loop count is the number of times to play an animation 2026-04-29 10:54:27 -07:00
external upgrade vendored libavif to v1.1.1 2026-05-04 10:30:11 +03:00
include/SDL3_image Sync SDL3_image wiki -> header 2026-04-29 17:55:01 +00:00
src IMG_libpng.c: fix build error due to -Wsign-compare 2026-05-01 07:56:40 +03:00
test cmake: map embedded resource paths to local paths on emscripten 2026-04-29 16:21:39 +02:00
VisualC rebuilt libavif dlls for windows from 1.1.1 version 2026-05-04 10:31:37 +03:00
Xcode upgrade vendored libavif to v1.1.1 2026-05-04 10:30:11 +03:00
.clang-format Updated .editorconfig and added .clang-format for SDL_image 2023-07-03 07:29:18 -07:00
.editorconfig Updated .editorconfig and added .clang-format for SDL_image 2023-07-03 07:29:18 -07:00
.gitignore projects: build-scripts directory should not be ignored 2025-12-09 18:04:57 +01:00
.gitmodules upgrade vendored libavif to v1.1.1 2026-05-04 10:30:11 +03:00
.wikiheaders-options .wikiheaders-options: A little too fast on the commit on that last one. 2025-07-24 12:48:27 -04:00
Android.mk Added IMG_gpu.c to the Android and Visual Studio projects 2026-01-16 08:41:51 -08:00
CHANGES.txt Added patch notes for GPU texture functions 2026-01-16 08:45:47 -08:00
CMakeLists.txt upgrade vendored libavif to v1.1.1 2026-05-04 10:30:11 +03:00
INSTALL.md Updated installation documentation 2025-01-22 12:09:49 -08:00
LICENSE.txt Updated copyright for 2026 2026-01-01 11:19:46 -08:00
README.md Updated description 2026-01-08 10:54:35 -08:00

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 (slouken@libsdl.org)