SDL2_image-2.0.0
所属分类:单片机开发
开发工具:C++ Builder
文件大小:9359KB
下载次数:8
上传日期:2014-02-19 08:47:34
上 传 者:
tongor
说明: SDL2_image-2.0.0开发包,方便大家使用
(SDL2_image-2.0.0 Development Kit to facilitate the use)
文件列表:
SDL2_image-2.0.0 (0, 2013-08-11)
SDL2_image-2.0.0\acinclude (0, 2013-08-11)
SDL2_image-2.0.0\acinclude\libtool.m4 (260230, 2013-08-11)
SDL2_image-2.0.0\acinclude\ltoptions.m4 (12018, 2013-08-11)
SDL2_image-2.0.0\acinclude\ltsugar.m4 (4452, 2013-08-11)
SDL2_image-2.0.0\acinclude\ltversion.m4 (781, 2013-08-11)
SDL2_image-2.0.0\acinclude\lt~obsolete.m4 (5786, 2013-08-11)
SDL2_image-2.0.0\acinclude\pkg.m4 (5221, 2013-08-11)
SDL2_image-2.0.0\acinclude\sdl2.m4 (6982, 2013-08-11)
SDL2_image-2.0.0\aclocal.m4 (42881, 2013-08-11)
SDL2_image-2.0.0\Android.mk (4299, 2013-08-11)
SDL2_image-2.0.0\autogen.sh (158, 2013-08-11)
SDL2_image-2.0.0\CHANGES.txt (4693, 2013-08-11)
SDL2_image-2.0.0\config.guess (44702, 2013-08-11)
SDL2_image-2.0.0\config.sub (34334, 2013-08-11)
SDL2_image-2.0.0\configure (456087, 2013-08-11)
SDL2_image-2.0.0\configure.in (12257, 2013-08-11)
SDL2_image-2.0.0\COPYING.txt (996, 2013-08-11)
SDL2_image-2.0.0\debian (0, 2013-08-11)
SDL2_image-2.0.0\debian\changelog (11055, 2013-08-11)
SDL2_image-2.0.0\debian\compat (2, 2013-08-11)
SDL2_image-2.0.0\debian\control (1627, 2013-08-11)
SDL2_image-2.0.0\debian\copyright (1972, 2013-08-11)
SDL2_image-2.0.0\debian\docs (11, 2013-08-11)
SDL2_image-2.0.0\debian\examples (0, 2013-08-11)
SDL2_image-2.0.0\debian\examples\Makefile (253, 2013-08-11)
SDL2_image-2.0.0\debian\libsdl2-image-dev.examples (37, 2013-08-11)
SDL2_image-2.0.0\debian\libsdl2-image-dev.install (67, 2013-08-11)
SDL2_image-2.0.0\debian\libsdl2-image.install (20, 2013-08-11)
SDL2_image-2.0.0\debian\libsdl2-image.lintian-overrides (63, 2013-08-11)
SDL2_image-2.0.0\debian\rules (392, 2013-08-11)
SDL2_image-2.0.0\debian\source (0, 2013-08-11)
SDL2_image-2.0.0\debian\source\format (13, 2013-08-11)
SDL2_image-2.0.0\debian\source\lintian-overrides (69, 2013-08-11)
SDL2_image-2.0.0\debian\watch (123, 2013-08-11)
SDL2_image-2.0.0\depcomp (17574, 2013-08-11)
SDL2_image-2.0.0\external (0, 2013-08-11)
SDL2_image-2.0.0\external\jpeg-9 (0, 2013-08-11)
SDL2_image-2.0.0\external\jpeg-9\aclocal.m4 (348777, 2013-08-11)
SDL2_image-2.0.0\external\jpeg-9\Android.mk (1182, 2013-08-11)
... ...
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.
近期下载者:
相关文件:
收藏者: