The devel/sdl2-image port
sdl2-image-2.8.2p1 – SDL2 image library
Description
This is a simple library to load images of various formats as SDL2
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, TGA, and
TIFF formats.
API: #include "SDL_image.h"
SDL_Surface *IMG_Load(const char *file);
or
SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc);
or
SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc, char
*type);
where type is a string specifying the format (i.e. "PNG" or "pcx").
Note that IMG_Load_RW cannot load TGA images.
WWW: https://www.libsdl.org/projects/SDL_image/
- Only for arches
-
aarch64
aarch64
alpha
amd64
amd64
arm
arm
hppa
i386
i386
mips64
mips64
mips64el
mips64el
powerpc
powerpc
powerpc64
powerpc64
riscv64
riscv64
sparc64
- Categories:
-
devel
graphics
Library dependencies
Build dependencies
Run dependencies