|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 29-Oct-2021 | - |
| .deps/ | | 29-Oct-2021 | - | | |
| VisualC/ | | 29-Oct-2021 | - | | |
| VisualC-WinRT/ | | 29-Oct-2021 | - | | |
| VisualCE/ | | 29-Oct-2021 | - | | |
| Xcode/ | | 29-Oct-2021 | - | | |
| Xcode-iOS/SDL_image.xcodeproj/ | | 29-Oct-2021 | - | | |
| acinclude/ | | 29-Oct-2021 | - | | |
| autom4te.cache/ | | 29-Oct-2021 | - | | |
| debian/ | | 29-Oct-2021 | - | | |
| external/ | | 29-Oct-2021 | - | | |
| unused/ | | 29-Oct-2021 | - | | |
| Android.mk | A D | 29-Oct-2021 | 2.2 KiB | 90 | 60 |
| CHANGES.txt | A D | 29-Oct-2021 | 6.9 KiB | 179 | 162 |
| COPYING.txt | A D | 29-Oct-2021 | 996 | 21 | 17 |
| IMG.c | A D | 29-Oct-2021 | 8 KiB | 291 | 222 |
| IMG_ImageIO.m | A D | 29-Oct-2021 | 25.5 KiB | 793 | 667 |
| IMG_UIImage.m | A D | 29-Oct-2021 | 11.8 KiB | 441 | 382 |
| IMG_WIC.c | A D | 29-Oct-2021 | 7.8 KiB | 309 | 241 |
| IMG_bmp.c | A D | 29-Oct-2021 | 28.5 KiB | 958 | 766 |
| IMG_gif.c | A D | 29-Oct-2021 | 17.3 KiB | 644 | 497 |
| IMG_jpg.c | A D | 29-Oct-2021 | 19 KiB | 590 | 411 |
| IMG_lbm.c | A D | 29-Oct-2021 | 15.9 KiB | 501 | 368 |
| IMG_pcx.c | A D | 29-Oct-2021 | 9 KiB | 300 | 230 |
| IMG_png.c | A D | 29-Oct-2021 | 25.2 KiB | 702 | 529 |
| IMG_pnm.c | A D | 29-Oct-2021 | 7.2 KiB | 261 | 181 |
| IMG_svg.c | A D | 29-Oct-2021 | 4.3 KiB | 161 | 113 |
| IMG_tga.c | A D | 29-Oct-2021 | 9.1 KiB | 336 | 252 |
| IMG_tif.c | A D | 29-Oct-2021 | 6.4 KiB | 242 | 170 |
| IMG_webp.c | A D | 29-Oct-2021 | 8.6 KiB | 292 | 214 |
| IMG_xcf.c | A D | 29-Oct-2021 | 23.9 KiB | 949 | 781 |
| IMG_xpm.c | A D | 29-Oct-2021 | 44.7 KiB | 1,211 | 1,078 |
| IMG_xv.c | A D | 29-Oct-2021 | 4 KiB | 163 | 108 |
| IMG_xxx.c | A D | 29-Oct-2021 | 2.1 KiB | 86 | 42 |
| Makefile | A D | 29-Oct-2021 | 34.3 KiB | 1,056 | 908 |
| Makefile.am | A D | 29-Oct-2021 | 1.6 KiB | 84 | 67 |
| Makefile.in | A D | 29-Oct-2021 | 35.3 KiB | 1,056 | 936 |
| README-emscripten.txt | A D | 29-Oct-2021 | 786 | 21 | 14 |
| README.txt | A D | 29-Oct-2021 | 1.5 KiB | 41 | 28 |
| SDL2_image.pc | A D | 29-Oct-2021 | 277 | 13 | 10 |
| SDL2_image.pc.in | A D | 29-Oct-2021 | 275 | 13 | 10 |
| SDL2_image.spec | A D | 29-Oct-2021 | 1.6 KiB | 70 | 51 |
| SDL2_image.spec.in | A D | 29-Oct-2021 | 1.6 KiB | 70 | 55 |
| SDL_image.h | A D | 29-Oct-2021 | 6.7 KiB | 162 | 82 |
| aclocal.m4 | A D | 29-Oct-2021 | 47.4 KiB | 1,260 | 1,149 |
| autogen.sh | A D | 29-Oct-2021 | 158 | 9 | 4 |
| compile | A D | 29-Oct-2021 | 7.2 KiB | 349 | 259 |
| config.guess | A D | 29-Oct-2021 | 43.2 KiB | 1,481 | 1,288 |
| config.log | A D | 29-Oct-2021 | 47.5 KiB | 1,466 | 1,440 |
| config.status | A D | 29-Oct-2021 | 55 KiB | 1,943 | 1,493 |
| config.sub | A D | 29-Oct-2021 | 35.3 KiB | 1,802 | 1,661 |
| configure | A D | 29-Oct-2021 | 452.3 KiB | 15,730 | 12,374 |
| configure.in | A D | 29-Oct-2021 | 12.4 KiB | 389 | 349 |
| depcomp | A D | 29-Oct-2021 | 23 KiB | 792 | 502 |
| gcc-fat.sh | A D | 29-Oct-2021 | 2.5 KiB | 104 | 84 |
| install-sh | A D | 29-Oct-2021 | 14.5 KiB | 510 | 335 |
| libtool | A D | 29-Oct-2021 | 252.1 KiB | 8,901 | 6,649 |
| ltmain.sh | A D | 29-Oct-2021 | 237.6 KiB | 8,408 | 6,472 |
| miniz.h | A D | 29-Oct-2021 | 222.2 KiB | 4,943 | 3,786 |
| missing | A D | 29-Oct-2021 | 6.7 KiB | 216 | 143 |
| nanosvg.h | A D | 29-Oct-2021 | 78.2 KiB | 3,037 | 2,505 |
| nanosvgrast.h | A D | 29-Oct-2021 | 37.2 KiB | 1,451 | 1,076 |
| version.rc | A D | 29-Oct-2021 | 974 | 39 | 34 |
README-emscripten.txt
README.txt
1
2SDL_image 2.0
3
4The latest version of this library is available from:
5http://www.libsdl.org/projects/SDL_image/
6
7This is a simple library to load images of various formats as SDL surfaces.
8This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM, PCX, GIF, JPEG, PNG,
9TGA, TIFF, and simple SVG formats.
10
11API:
12#include "SDL_image.h"
13
14 SDL_Surface *IMG_Load(const char *file);
15or
16 SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc);
17or
18 SDL_Surface *IMG_LoadTyped_RW(SDL_RWops *src, int freesrc, char *type);
19
20where type is a string specifying the format (i.e. "PNG" or "pcx").
21Note that IMG_Load_RW cannot load TGA images.
22
23To create a surface from an XPM image included in C source, use:
24
25 SDL_Surface *IMG_ReadXPMFromArray(char **xpm);
26
27An example program 'showimage' is included, with source in showimage.c
28
29JPEG support requires the JPEG library: http://www.ijg.org/
30PNG support requires the PNG library: http://www.libpng.org/pub/png/libpng.html
31 and the Zlib library: http://www.gzip.org/zlib/
32TIFF support requires the TIFF library: ftp://ftp.sgi.com/graphics/tiff/
33
34If you have these libraries installed in non-standard places, you can
35try adding those paths to the configure script, e.g.
36sh ./configure CPPFLAGS="-I/somewhere/include" LDFLAGS="-L/somewhere/lib"
37If this works, you may need to add /somewhere/lib to your LD_LIBRARY_PATH
38so shared library loading works correctly.
39
40This library is under the zlib License, see the file "COPYING.txt" for details.
41