The devel/sdl-image port
sdl-image-1.2.12p5 – SDL image library (cvsweb github mirror)
Description
This is a simple library to load images of various formats as SDL 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/
Maintainer
The OpenBSD ports mailing-list
Categories
Library dependencies
Files
- /usr/local/include/SDL/
- /usr/local/include/SDL/SDL_image.h
- /usr/local/lib/libSDL_image.a
- /usr/local/lib/libSDL_image.la
- /usr/local/lib/libSDL_image.so.3.1
- /usr/local/lib/pkgconfig/SDL_image.pc