Documentation:
Available on this site.
Source:
SDL2_image-2.0.5.zip
SDL2_image-2.0.5.tar.gz
Mercurial Repository:
http://hg.libsdl.org/SDL_image/
Runtime Binaries:
Windows
SDL2_image-2.0.5-win32-x86.zip (32-bit Windows)
SDL2_image-2.0.5-win32-x64.zip (64-bit Windows)
Mac OS X
SDL2_image-2.0.5.dmg
Linux
Please contact your distribution maintainer for updates.
Development Libraries:
Windows
SDL2_image-devel-2.0.5-VC.zip (Visual C++ 32/64-bit)
SDL2_image-devel-2.0.5-mingw.tar.gz (MinGW 32/64-bit)
Mac OS X
SDL2_image-2.0.5.dmg
Linux
Please contact your distribution maintainer for updates.
iOS & Android
Projects for these platforms are included with the source.
Requires:
The latest stable release of SDL 2.0
Runs on:
All platforms supported by SDL
Description:
SDL_image is an image file loading library.
It loads images as SDL surfaces and textures, and supports the following formats:
BMP, GIF, JPEG, LBM, PCX, PNG, PNM, SVG, TGA, TIFF, WEBP, XCF, XPM, XV
As of SDL_image 1.2.5, JPEG, PNG, TIFF, and WEBP image loading libraries are dynamically loaded, so if you don't need to load those formats, you don't need to include those shared libraries. libpng depends on libz, and libtiff depends on both libz and libjpeg.
Instructions:
Unpack and build. Run "showimage imagefile"
to display an image using the library.
Changes:
2.0.5:
* Updated external libraries libpng-1.6.32, libwebp-1.0.2
* Fixed a number of security issues:
TALOS-2019-0820
TALOS-2019-0821
TALOS-2019-0841
TALOS-2019-0842
TALOS-2019-0843
TALOS-2019-0844
* Ported SDL_image to emscripten
2.0.4:
* Fixed memory issues in the XCF loader
* Fixed a number of security issues, including TALOS-2018-0645
2.0.3:
* Fixed a number of security issues:
TALOS-2017-0488
TALOS-2017-0489
TALOS-2017-0490
TALOS-2017-0491
TALOS-2017-0497
TALOS-2017-0498
TALOS-2017-0499
2.0.2:
* Added simple SVG image support based on Nano SVG
* Updated external libraries jpeg-9b, libpng-1.6.32, libwebp-0.6.0, tiff-4.0.8 and zlib-1.2.11
* Fixed security vulnerability in XCF image loader
* Added optional support for loading images using Windows Imaging Component
* Added libpng save support for much smaller 8-bit images
* Added JPG save support when built with jpeglib: IMG_SaveJPG() and IMG_SaveJPG_RW()
2.0.1:
* Fixed image colorspace issue on iOS and Mac OS X
* Fixed support for transparency in XPM files
* Fixed building JPEG support on Android
* Added support for building for Windows RT and Windows Phone
* Fixed memory leak in webp image loading
* Fixed loading BMP files with large BITMAPINFOHEADER structures
* Fixed building with libpng 1.4
2.0.0:
* Updated for SDL 2.0
* Fixed bug setting colorkey for indexed PNG images
* Added support for alpha and lossless WEBP images
1.2.12:
* Fixed regression in 1.2.11 loading 8-bit PNG images with libpng
1.2.11:
* SDL_image is now under the zlib license
* SDL_image binaries have been built with the following libraries:
JPEG v8d
libpng 1.5.7
libwebp 0.1.3
tiff 4.0.0
zlib 1.2.5
* SDL_image framework on OSX is built for Intel 10.5 and newer,
PowerPC binaries can be built by modifying the Xcode project
* Fixed loading 8-bit PNG images on Mac OS X
* Added WEBP image support
* Fixed compiling with libpng 1.4 and 1.5
* Added Android.mk to build on the Android platform
* Fixed loading HAM6 images with stencil mask
* Fixed bug loading 15 and 16 bit BMP images
Thanks to these people and many others for their help on this release:
Mark Tucker, Thomas Klausner, Michael Bonfils
1.2.10:
* Fixed bug loading multiple images
1.2.9:
* Fixed alpha premultiplication on Mac OS X and iPhone OS
* Fixed checking for IMG_Init() return value in image loaders
1.2.8:
* Added support for uncompressed PCX files
* Added IMG_Init()/IMG_Quit() to prevent constantly loading and unloading DLLs
* Added support for ICO and CUR image files
* Added ImageIO loading infrastructure for Mac OS X
* Added UIImage loading infrastructure for iPhone / iPod Touch