1. Home
  2. Browse
  3. sdl3-image

sdl3-image

v3.1.0#0Go to latest

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

Install

Run the following Vcpkg command to install the port.

vcpkg install sdl3-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-static>)

sdl3-image provides pkg-config modules:

# image loading library for Simple DirectMedia Layer

sdl3-image

Features

Dependencies

See source

Version

v3.1.0#0

Publication

Supports

All

GitHub

libsdl-org/SDL_image

Homepage

github.com/libsdl-org/SDL_image

Subtree

c7961da738

License

Zlib

Definition

Manifest