BeagleRescue/libsdl2_image
2022-09-30 15:49:16 -04:00
..
.deps Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
.libs Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
acinclude Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
autom4te.cache Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
debian Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
external Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
VisualC Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
VisualC-WinRT Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
VisualCE Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
Xcode Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
Xcode-iOS/SDL_image.xcodeproj Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
aclocal.m4 Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
Android.mk Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
autogen.sh Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
CHANGES.txt Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
compile Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
config.guess Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
config.log Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
config.status Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
config.sub Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
configure Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
configure.in Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
configure~ Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
COPYING.txt Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
depcomp Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
gcc-fat.sh Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_bmp.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_gif.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_ImageIO.m Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_jpg.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_lbm.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_pcx.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_png.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_pnm.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_svg.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_tga.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_tif.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_UIImage.m Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_webp.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_WIC.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_xcf.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_xpm.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_xv.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG_xxx.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
IMG.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
install-sh Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
libtool Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
ltmain.sh Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
Makefile Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
Makefile.am Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
Makefile.in Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
miniz.h Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
missing Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
nanosvg.h Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
nanosvgrast.h Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
README-emscripten.txt Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
README.txt Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
SDL2_image.pc Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
SDL2_image.pc.in Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
SDL2_image.spec Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
SDL2_image.spec.in Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
SDL_image.h Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
showimage Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
showimage.c Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00
version.rc Built SDL2_image and _mixer static 2022-09-30 15:49:16 -04:00

SDL_image 2.0

The latest version of this library is available from:
http://www.libsdl.org/projects/SDL_image/

This is a simple library to load images of various formats as SDL surfaces.
This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM, PCX, GIF, JPEG, PNG,
TGA, TIFF, and simple SVG 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_LoadTyped_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.

To create a surface from an XPM image included in C source, use:

	SDL_Surface *IMG_ReadXPMFromArray(char **xpm);

An example program 'showimage' is included, with source in showimage.c

JPEG support requires the JPEG library: http://www.ijg.org/
PNG support requires the PNG library: http://www.libpng.org/pub/png/libpng.html
    and the Zlib library: http://www.gzip.org/zlib/
TIFF support requires the TIFF library: ftp://ftp.sgi.com/graphics/tiff/

If you have these libraries installed in non-standard places, you can
try adding those paths to the configure script, e.g.
sh ./configure CPPFLAGS="-I/somewhere/include" LDFLAGS="-L/somewhere/lib"
If this works, you may need to add /somewhere/lib to your LD_LIBRARY_PATH
so shared library loading works correctly.

This library is under the zlib License, see the file "COPYING.txt" for details.