sdl3-imagev3.4.4
- Updated
SDL_image is an image file loading library. It loads images as SDL surfaces and textures, and supports the following formats: AVIF, BMP, GIF, JPEG, JPEG XL, LBM, PCX, PNG, PNM, TGA, TIFF, WEBP, XCF, XPM, XV
- Project website: https://github.com/libsdl-org/SDL_image
#Usage
sdl3-image provides CMake targets:
find_package(SDL3_image CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:SDL3_image::SDL3_image-shared>,SDL3_image::SDL3_image-shared,SDL3_image::SDL3_image-static>)sdl3-image provides pkg-config modules:
# image loading library for Simple DirectMedia Layer
sdl3-image#Supported Platforms
All platforms supported.
#Features
No default features.
#avif
Support for AVIF image format
Dependencies:
libavif
Features:
aom,dav1d
Host Dependencies:
4 transitive dependencies:
- vcpkg-cmake (through libjpeg-turbo)
- vcpkg-cmake-config (through libjpeg-turbo)
- vcpkg-cmake-get-vars (through libyuv)
- vcpkg-tool-meson (through dav1d)
#jpeg
Support for JPEG image format
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through libjpeg-turbo)
- vcpkg-cmake-config (through libjpeg-turbo)
#jxl
Support for JPEG XL image format
Dependencies:
Host Dependencies:
4 transitive dependencies:
- vcpkg-cmake (through brotli)
- vcpkg-cmake-config (through brotli)
- vcpkg-cmake-get-vars (through vcpkg-tool-meson)
- vcpkg-tool-meson (through lcms)
#png
Support for PNG image format
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (through libpng)
- vcpkg-cmake-config (through libpng)
vcpkg-cmake-get-vars (through libpng)
Platforms:
arm & android
#tiff
Support for TIFF image format
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through tiff)
- vcpkg-cmake-config (through tiff)
#webp
Support for WEBP image format.
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through libwebp)
- vcpkg-cmake-config (through libwebp)
#Used By
No ports use this.
#Host Tool For
No ports use this.
#Contributors
Artem Shubovych
Kai Pastor
Konstantin Podsvirov
Rémy Tassoux
toge
Sergey Astaf'ev