Port details on branch 2022Q2 |
- sdl_image Simple library to load images of various formats as SDL surfaces
- 1.2.12_13 graphics =71 1.2.12_13Version of this port present on the latest quarterly branch.
- Maintainer: amdmi3@FreeBSD.org
- Port Added: 2000-09-20 04:16:53
- Last Update: 2023-07-28 17:13:17
- Commit Hash: 664a2fa
- People watching this port, also watch:: sdl, gmake, libogg, libvorbis, tiff
- License: LGPL21
- WWW:
- https://www.libsdl.org/projects/SDL_image/
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- sdl_image>0:graphics/sdl_image
- To install the port:
- cd /usr/ports/graphics/sdl_image/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/sdl_image
- pkg install sdl_image
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: sdl_image
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (SDL_image-1.2.12.tar.gz) = 0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699
SIZE (SDL_image-1.2.12.tar.gz) = 2231074
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- sdl-config : devel/sdl12
- Library dependencies:
-
- libpng.so : graphics/png
- libtiff.so : graphics/tiff
- libwebp.so : graphics/webp
- libSDL.so : devel/sdl12
- libjpeg.so : graphics/jpeg-turbo
- This port is required by:
- for Libraries
-
- devel/flatzebra
- devel/guichan
- devel/kyra
- devel/ocaml-sdl
- devel/p5-Alien-SDL
- devel/p5-SDL
- devel/sdlskk
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for sdl_image-1.2.12_13:
JPEG=on: JPEG image format support
PNG=on: PNG image format support
TIFF=on: TIFF image format support
WEBP=on: WebP image format support
===> Use 'make config' to modify these settings
- Options name:
- graphics_sdl_image
- USES:
- cpe gmake libtool localbase pkgconfig pathfix sdl jpeg
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|