sdl2-imagev2.8.12
- Updated
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, TGA, TIFF, WEBP, XCF, XPM, XV
- Project website: https://github.com/libsdl-org/SDL_image
#Usage
sdl2-image provides CMake targets:
find_package(SDL2_image CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:SDL2_image::SDL2_image>,SDL2_image::SDL2_image,SDL2_image::SDL2_image-static>)#Supported Platforms
All platforms supported.
#Features
No default features.
#avif
Support for AVIF image format
Dependencies:
and 2 transitive dependencies:
- libjpeg-turbo (through libyuv)
- libyuv (through libavif)
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (through libjpeg-turbo)
- vcpkg-cmake-config (through libjpeg-turbo)
- vcpkg-cmake-get-vars (through libyuv)
#libjpeg-turbo
Support for JPEG image format
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through libjpeg-turbo)
- vcpkg-cmake-config (through libjpeg-turbo)
#libwebp
Support for WEBP image format.
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through libwebp)
- vcpkg-cmake-config (through libwebp)
#tiff
Support for TIFF image format
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through tiff)
- vcpkg-cmake-config (through tiff)
#Host Dependencies
and one transitive dependency:
vcpkg-cmake-get-vars (through libpng)
Platforms:
arm & android
#Used By
- sdl2pp (feature
sdl2-image)
#Host Tool For
No ports use this.
#Contributors
Patrick Bader
codicodi
Alexander Karatarakis
Robert Schumacher
Stanislav Ershov
Gabriel
Daniel
Helco
Leonard Mosescu
Antonio Maiorano
pravic
Stefano Sinigardi
Charles Dang
Billy O'Neal
Jack·Boos·Yu
Rémy Tassoux
autoantwort
Felipe Wannmacher
Thomas1664
Andrey Filipenkov
Pierre Wendling
jim wang
JonLiu1993
Oleg Derevenetz
toge
#Changelog
Show 29 earlier changes
2ad118aAdd missing version.rc file to sdl2 libraries.48e9cc0[sdl2-image] Update to 2.0.2deee8c1[sdl2-gfx][sdl2-image][sdl2-mixer][sdl2-net][sdl2-ttf] Fix accidental link of release libs in debug mode.26516fevcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7)dc4998b[sdl2] Prevent exports in static build07fb014[sdl2-image] changed include directory to SDL2 include directory2bb72e6[sdl2-image] added dependencies to CONTROL so they will always be statically linked Replaced FindWEBP.cmake with version from freeimage port937c4e2fixed findWEBP.cmake to select debug version of webp for debug builds.37a5504finished port of sdl2_image - optional dependencies which are installed in vcpkg are automatically linked - unavailable dependencies are marked as dynamically linked and dlls have to be copied manually if respective file formats are used29aedfaadded first version of SDL2_image library which currently does not link to any external libraries.