doom3quest/Projects/Android/jni/SupportLibs/SDL2/SDL2_image
2021-04-18 19:14:05 +01:00
..
acinclude Added SupportLibs for building 2021-04-18 19:14:05 +01:00
debian Added SupportLibs for building 2021-04-18 19:14:05 +01:00
external Added SupportLibs for building 2021-04-18 19:14:05 +01:00
VisualC Added SupportLibs for building 2021-04-18 19:14:05 +01:00
VisualCE Added SupportLibs for building 2021-04-18 19:14:05 +01:00
Xcode Added SupportLibs for building 2021-04-18 19:14:05 +01:00
Xcode-iOS/SDL_image.xcodeproj Added SupportLibs for building 2021-04-18 19:14:05 +01:00
aclocal.m4 Added SupportLibs for building 2021-04-18 19:14:05 +01:00
Android.mk Added SupportLibs for building 2021-04-18 19:14:05 +01:00
autogen.sh Added SupportLibs for building 2021-04-18 19:14:05 +01:00
CHANGES.txt Added SupportLibs for building 2021-04-18 19:14:05 +01:00
config.guess Added SupportLibs for building 2021-04-18 19:14:05 +01:00
config.sub Added SupportLibs for building 2021-04-18 19:14:05 +01:00
configure Added SupportLibs for building 2021-04-18 19:14:05 +01:00
configure.in Added SupportLibs for building 2021-04-18 19:14:05 +01:00
COPYING.txt Added SupportLibs for building 2021-04-18 19:14:05 +01:00
depcomp Added SupportLibs for building 2021-04-18 19:14:05 +01:00
gcc-fat.sh Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_bmp.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_gif.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_ImageIO.m Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_jpg.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_lbm.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_pcx.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_png.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_pnm.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_tga.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_tif.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_UIImage.m Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_webp.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_xcf.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_xpm.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_xv.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
IMG_xxx.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
install-sh Added SupportLibs for building 2021-04-18 19:14:05 +01:00
ltmain.sh Added SupportLibs for building 2021-04-18 19:14:05 +01:00
Makefile.am Added SupportLibs for building 2021-04-18 19:14:05 +01:00
Makefile.in Added SupportLibs for building 2021-04-18 19:14:05 +01:00
miniz.h Added SupportLibs for building 2021-04-18 19:14:05 +01:00
missing Added SupportLibs for building 2021-04-18 19:14:05 +01:00
README.txt Added SupportLibs for building 2021-04-18 19:14:05 +01:00
SDL2_image.pc.in Added SupportLibs for building 2021-04-18 19:14:05 +01:00
SDL2_image.spec Added SupportLibs for building 2021-04-18 19:14:05 +01:00
SDL2_image.spec.in Added SupportLibs for building 2021-04-18 19:14:05 +01:00
SDL_image.h Added SupportLibs for building 2021-04-18 19:14:05 +01:00
showimage.c Added SupportLibs for building 2021-04-18 19:14:05 +01:00
version.rc Added SupportLibs for building 2021-04-18 19:14:05 +01: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, 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_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.