graphics/sdl_image 1.2.12_14 FreeBSD
Simple library to load images of various formats as SDL surfaces
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- LGPL21
- Categories
- graphics
- Package size
- 40.8 KiB, 164.8 KiB installed
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.
An example program 'showimage' is included, with source in showimage.c
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | graphics/sdl_image | 1.2.12_14 |
| DragonFly | graphics/sdl_image | 1.2.12_14 |
| MidnightBSD | graphics/sdl_image | 1.2.12_4 |
| HardenedBSD | graphics/sdl_image | 1.2.12_14 |
| GhostBSD | graphics/sdl_image | 1.2.12_14 |
Install
Binary package:
pkg install sdl_image
From the ports tree:
cd /usr/ports/graphics/sdl_image/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sdl_image>0:graphics/sdl_image
LIB_DEPENDS= libSDL_image.so:graphics/sdl_image
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2.12_14 | 1.2.12_14 | 1.2.12_12 | 1.2.12_14 | 1.2.12_14 |
| FreeBSD:14:quarterly | 1.2.12_14 | 1.2.12_14 | n/a | 1.2.12_14 | 1.2.12_14 |
| FreeBSD:15:latest | 1.2.12_14 | 1.2.12_14 | n/a | 1.2.12_14 | 1.2.12_14 |
| FreeBSD:15:quarterly | 1.2.12_14 | 1.2.12_14 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.12_14 | 1.2.12_14 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 26
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/gmake
- devel/pkgconf
- devel/sdl12
- graphics/aalib
- graphics/giflib
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lerc
- graphics/libGLU
- graphics/libglvnd
- graphics/png
- graphics/tiff
- graphics/webp
- print/indexinfo
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrandr
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Run dependencies 23
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- devel/sdl12
- graphics/aalib
- graphics/giflib
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lerc
- graphics/libGLU
- graphics/libglvnd
- graphics/png
- graphics/tiff
- graphics/webp
- print/indexinfo
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrandr
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Required by 149
- devel/guichan
- devel/ocaml-sdl
- devel/p5-Alien-SDL
- devel/p5-SDL
- devel/sdl_console
- devel/sdlskk
- games/54321
- games/agame
- games/amoebax
- games/armagetronad
- games/battletanks
- games/beret
- games/biloba
- games/biniax2
- games/black-box
- games/blinkensisters
- games/blockrage
- games/bloodfrontier
- games/bomberclone
- games/bombherman
- games/brainparty
- games/brickshooter
- games/brikx
- games/brumbrumrally
- games/brutalchess
- games/bugsquish
- games/bumprace
- games/cave9
- games/chapping
- games/chroma
- games/circuslinux
- games/concentration
- games/criticalmass
- games/csmash
- games/cube
- games/cuyo
- games/d2x
- games/dangen
- games/dodgindiamond2
- games/egoboo
- games/endgame-singularity
- games/entombed
- games/excido
- games/f1spirit-remake
- games/fightorperish
- games/fillets-ng
- games/fishsupper
- games/flobopuyo
- games/formido
- games/freeblocks
- games/freedink
- games/freedink-engine
- games/freedroid
- games/freedroidrpg
- games/freetennis
- games/frozen-bubble
- games/gemdropx
- games/gnujump
- games/gnurobbo
- games/goonies
- games/hangman
- games/help_hannahs_horse
- games/highmoon
- games/holotz-castle
- games/interlogic
- games/jfk
- games/kartofel
- games/kobodeluxe
- games/legesmotus
- games/luola
- games/madbomber
- games/megamario
- games/memonix
- games/meritous
- games/moonlander
- games/nazghul
- games/nimuh
- games/njam
- games/nuclearchess
- games/numptyphysics
- games/numptyphysics-npcomplete
- games/onscripter
- games/onscripter-1byte
- games/openbubbles
- games/opencity
- games/openmortal
- games/openssn
- games/openxcom
- games/orbital_eunuchs_sniper
- games/osgg
- games/pangzero
- games/patapizza-tetris
- games/pengpong
- games/penguin-command
- games/phlipple
- games/pingus
- games/pipenightdreams
- games/pongix
- games/popstar
- games/prboom-plus
The first 100 are listed.
Configuration
Options name: graphics_sdl_image
| Option | Default | Description |
|---|---|---|
| JPEG | on | JPEG image format support |
| PNG | on | PNG image format support |
| TIFF | on | TIFF image format support |
| WEBP | on | WebP image format support |
- USES
- cpe gmake libtool localbase pkgconfig pathfix sdl
- Service scripts
- none
Files
pkg-plist 7
- bin/showimage
- include/SDL/SDL_image.h
- lib/libSDL_image-1.2.so.0
- lib/libSDL_image-1.2.so.0.8.4
- lib/libSDL_image.a
- lib/libSDL_image.so
- libdata/pkgconfig/SDL_image.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| SDL_image-1.2.12.tar.gz | 2.231074e+06 | 0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699 |
Master sites 1
- https://www.libsdl.org/projects/SDL_image/release/
Commit history 0
No commits in the history this site was built from.