Install this package:
emerge -a media-libs/sdl3-image
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask media-libs/sdl3-image
Or alternatively:
emerge --autounmask-write -a media-libs/sdl3-image
<pkgmetadata> <maintainer type="project"> <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> <maintainer type="person"> <email>kangie@gentoo.org</email> <name>Matt Jolly</name> </maintainer> <longdescription> This is a simple library to load images of various formats as SDL surfaces. It can load BMP, GIF, JPEG, LBM, PCX, PNG, PNM (PPM/PGM/PBM), QOI, TGA, XCF, XPM, and simple SVG format images. It can also load AVIF, JPEG-XL, TIFF, and WebP images, depending on build options </longdescription> <use> <flag name="samples">Install sample programs</flag> <flag name="stb">Use stb_image from vendored <pkg>dev-libs/stb</pkg> for JPEG and PNG image loading to reduce external dependencies</flag> </use> <upstream> <bugs-to>https://github.com/libsdl-org/SDL_image/issues</bugs-to> <remote-id type="github">libsdl-org/SDL_image</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p media-libs/sdl3-image |
euse -E <flag> -p media-libs/sdl3-image |
euse -D <flag> -p media-libs/sdl3-image
| Flag | Description | 3.4.0 | 3.2.4 |
|---|---|---|---|
| avif | Add AV1 Image Format (AVIF) support | ✓ | ✓ |
| gif | Add GIF image support | ✓ | ✓ |
| jpeg | Add JPEG image support | ✓ | ✓ |
| jpegxl | Add JPEG XL image support | ✓ | ✓ |
| png | Add support for libpng (PNG images) | ✓ | ✓ |
| samples | Install sample programs | ✓ | ✓ |
| static-libs | Build static versions of dynamic libraries as well | ✓ | ✓ |
| stb | Use stb_image from vendored <pkg>dev-libs/stb</pkg> for JPEG and PNG image loading to reduce external dependencies | ✓ | ✓ |
| test | Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) | ✓ | ✓ |
| tiff | Add support for the TIFF image format | ✓ | ✓ |
| webp | Add support for the WebP image format | ✓ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | SDL3_image-3.2.4.tar.gz | 10756063 bytes | 3.2.4 |
| DIST | SDL3_image-3.4.0.tar.gz | 11221415 bytes | 3.4.0 |
| Type | File | Size |
|---|