devel/sdl-image 1.2.12p5 OpenBSD
SDL image library
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, graphics
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.
Install
Binary package:
pkg_add sdl-image
From the ports tree:
cd /usr/ports/devel/sdl-image && make install
Dependencies
Run dependencies 5
Required by 42
- devel/p5-SDL
- games/amoebax
- games/armagetronad
- games/beret
- games/bomberclone
- games/brumbrumrally
- games/chroma
- games/crossfire-client
- games/csmash
- games/dangerdeep
- games/dxx-rebirth
- games/egoboo
- games/f1spirit
- games/fillets-ng
- games/freeblocks
- games/freedroid
- games/freedroidrpg
- games/gnurobbo
- games/instead
- games/kobodeluxe
- games/late
- games/lostpixels
- games/meandmyshadow
- games/moonlander
- games/numptyphysics
- games/oilwar
- games/openxcom
- games/pingus
- games/roadfighter
- games/sdlzombies
- games/snipe2d
- games/tong
- games/tutris
- games/vodovod
- games/warmux
- games/wizznic
- games/xgalaga-sdl
- games/xwelltris
- games/xye
- games/zaz
- graphics/iview
- x11/vlc