Skip to content
项目

关于

为 Simple DirectMedia Layer 提供多种常见格式的图像解码功能。

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
+4
15天
+6
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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])

探索相关项目

加载中…