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
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
Support for AVIF image format
Support for JPEG image format
Support for JPEG XL image format
Support for PNG image format
Support for TIFF image format
Support for WEBP image format.
v3.4.4#1
All
Zlib
Manifest