Skip to content
Projects

About

Image decoding for many popular formats for Simple Directmedia Layer.

Design & Media

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+4
in 15 days
+6
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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 ([email protected])

Explore related projects

Loading…