diff options
Diffstat (limited to 'vendor/SDL2_Image')
28 files changed, 993 insertions, 0 deletions
diff --git a/vendor/SDL2_Image/CHANGES.txt b/vendor/SDL2_Image/CHANGES.txt new file mode 100644 index 0000000..3e57036 --- /dev/null +++ b/vendor/SDL2_Image/CHANGES.txt | |||
@@ -0,0 +1,178 @@ | |||
1 | 2.0.5: | ||
2 | Sam Lantinga - Wed Jun 19 07:30:51 PDT 2019 | ||
3 | * Updated external libraries libpng-1.6.32, libwebp-1.0.2 | ||
4 | Sam Lantinga - Tue Jun 11 00:17:01 PDT 2019 | ||
5 | * Fixed a number of security issues: | ||
6 | TALOS-2019-0820 | ||
7 | TALOS-2019-0821 | ||
8 | TALOS-2019-0841 | ||
9 | TALOS-2019-0842 | ||
10 | TALOS-2019-0843 | ||
11 | TALOS-2019-0844 | ||
12 | Sathyanarayanan Gunasekaran, Brian Palmer, Charlie Birks, Amadeus - Mon Jun 10 16:48:20 PDT 2019 | ||
13 | * Ported SDL_image to emscripten | ||
14 | |||
15 | 2.0.4: | ||
16 | MichaĆ Janiszewski - Fri Sept 28 22:00:26 PST 2018 | ||
17 | * Fixed memory issues in the XCF loader | ||
18 | Ryan Gordon - Wed Sept 26 14:58:31 PST 2018 | ||
19 | * Fixed a number of security issues, including TALOS-2018-0645 | ||
20 | |||
21 | 2.0.3: | ||
22 | Ryan Gordon - Sun Jan 28 21:28:16 PST 2018 | ||
23 | * Fixed a number of security issues: | ||
24 | TALOS-2017-0488 | ||
25 | TALOS-2017-0489 | ||
26 | TALOS-2017-0490 | ||
27 | TALOS-2017-0491 | ||
28 | TALOS-2017-0497 | ||
29 | TALOS-2017-0498 | ||
30 | TALOS-2017-0499 | ||
31 | Sam Lantinga - Sun Jan 28 21:24:10 PST 2018 | ||
32 | * Added a dependency on SDL 2.0.8 | ||
33 | |||
34 | 2.0.2: | ||
35 | Sam Lantinga - Sat Oct 21 23:42:28 PDT 2017 | ||
36 | * Added simple SVG image support based on Nano SVG | ||
37 | Sam Lantinga - Sat Oct 21 22:14:34 PDT 2017 | ||
38 | * Updated external libraries jpeg-9b, libpng-1.6.32, libwebp-0.6.0, tiff-4.0.8 and zlib-1.2.11 | ||
39 | Yves Younan - Fri, Oct 6, 2017 3:38:38 PM | ||
40 | * Fixed security vulnerability in XCF image loader | ||
41 | Alexey - Tue Sep 12 00:41:53 PDT 2017 | ||
42 | * Added optional support for loading images using Windows Imaging Component | ||
43 | Fabian Greffrath - Tue Sep 12 00:15:56 PDT 2017 | ||
44 | * Added libpng save support for much smaller 8-bit images | ||
45 | Alexey - Mon Sep 11 23:50:31 PDT 2017 | ||
46 | * Added JPG save support when built with jpeglib | ||
47 | IMG_SaveJPG() and IMG_SaveJPG_RW() | ||
48 | |||
49 | 2.0.1: | ||
50 | Jeffrey Carpenter - Sat Nov 29 12:06:05 2014 | ||
51 | * Fixed image colorspace issue on iOS and Mac OS X | ||
52 | Sam Lantinga - Sun Jun 15 17:33:46 2014 | ||
53 | * Fixed support for transparency in XPM files | ||
54 | Davide Coppola - Thu Apr 17 17:30:12 2014 | ||
55 | * Fixed building JPEG support on Android | ||
56 | David Ludwig - Tue Apr 01 19:40:35 2014 | ||
57 | * Added support for building for Windows RT and Windows Phone | ||
58 | Timur - Wed Dec 11 21:24:36 2013 | ||
59 | * Fixed memory leak in webp image loading | ||
60 | Patrice Mandin - Thu Nov 07 19:15:28 2013 | ||
61 | * Fixed loading BMP files with large BITMAPINFOHEADER structures | ||
62 | Sam Lantinga - Fri Oct 11 21:54:20 2013 | ||
63 | * Fixed building with libpng 1.4 | ||
64 | |||
65 | 2.0.0: | ||
66 | Sam Lantinga - Sun Jun 2 22:25:31 PDT 2013 | ||
67 | * Added PNG save support based on miniz.c by Rich Geldreich | ||
68 | IMG_SavePNG(), IMG_SavePNG_RW() | ||
69 | Sam Lantinga - Sat Jun 1 19:11:26 PDT 2013 | ||
70 | * Updated for SDL 2.0 release | ||
71 | Sam Lantinga - Sat Mar 23 13:36:51 PDT 2013 | ||
72 | * Fixed bug setting colorkey for indexed PNG images | ||
73 | Torsten Stremlau - Sun Mar 10 10:19:25 PDT 2013 | ||
74 | * Added support for alpha and lossless WEBP images | ||
75 | |||
76 | 1.2.12: | ||
77 | mscott - 2012-02-06 19:40:23 PST | ||
78 | * Fixed image corruption when using ImageIO framework | ||
79 | Sylvain - Thu Nov 22 13:09:59 PST 2012 | ||
80 | * Added extended XPM color table (disabled by default in IMG_xpm.c) | ||
81 | Sam Lantinga - Thu Jan 19 23:18:09 EST 2012 | ||
82 | * Fixed regression in 1.2.11 loading 8-bit PNG images with libpng | ||
83 | |||
84 | 1.2.11: | ||
85 | Sam Lantinga - Sat Jan 14 17:54:38 EST 2012 | ||
86 | * Fixed loading 8-bit PNG images on Mac OS X | ||
87 | Sam Lantinga - Sat Dec 31 09:35:40 EST 2011 | ||
88 | * SDL_image is now under the zlib license | ||
89 | Michael Bonfils - Mon Nov 28 21:46:00 EST 2011 | ||
90 | * Added WEBP image support | ||
91 | Thomas Klausner - Wed Jan 19 19:31:25 PST 2011 | ||
92 | * Fixed compiling with libpng 1.4 | ||
93 | Sam Lantinga - Mon Jan 10 12:09:57 2011 -0800 | ||
94 | * Added Android.mk to build on the Android platform | ||
95 | Sam Lantinga - Mon May 10 22:42:53 PDT 2010 | ||
96 | * Fixed loading HAM6 images with stencil mask | ||
97 | Mark Tucker - Fri, 27 Nov 2009 12:38:21 -0500 | ||
98 | * Fixed bug loading 15 and 16 bit BMP images | ||
99 | |||
100 | 1.2.10: | ||
101 | Sam Lantinga - Sat Nov 14 11:22:14 PST 2009 | ||
102 | * Fixed bug loading multiple images | ||
103 | |||
104 | 1.2.9: | ||
105 | Sam Lantinga - Tue Nov 10 00:29:20 PST 2009 | ||
106 | * Fixed alpha premultiplication on Mac OS X and iPhone OS | ||
107 | Sam Lantinga - Sun Nov 8 07:52:11 PST 2009 | ||
108 | * Fixed checking for IMG_Init() return value in image loaders | ||
109 | |||
110 | 1.2.8: | ||
111 | Sam Lantinga - Sun Oct 4 13:12:54 PDT 2009 | ||
112 | * Added support for uncompressed PCX files | ||
113 | Mason Wheeler - 2009-06-10 06:29:45 PDT | ||
114 | * Added IMG_Init()/IMG_Quit() to prevent constantly loading and unloading DLLs | ||
115 | Couriersud - Mon, 12 Jan 2009 17:21:13 -0800 | ||
116 | * Added support for ICO and CUR image files | ||
117 | Eric Wing - Fri, 2 Jan 2009 02:01:16 -0800 | ||
118 | * Added ImageIO loading infrastructure for Mac OS X | ||
119 | * Added UIImage loading infrastructure for iPhone / iPod Touch | ||
120 | |||
121 | 1.2.7: | ||
122 | Sam Lantinga - Sun Nov 2 15:08:27 PST 2008 | ||
123 | * Fixed buffer overflow in BMP loading code, discovered by j00ru//vx | ||
124 | Sam Lantinga - Fri Dec 28 08:34:54 PST 2007 | ||
125 | * Fixed buffer overflow in GIF loading code, discovered by Michael Skladnikiewicz | ||
126 | |||
127 | 1.2.6: | ||
128 | Sam lantinga - Wed Jul 18 00:30:32 PDT 2007 | ||
129 | * Improved detection of libjpeg, libpng, and libtiff at configure time | ||
130 | * PNG and TIFF images are correctly identified even if dynamic libraries | ||
131 | to load them aren't available. | ||
132 | * Fixed loading of TIFF images using libtiff 3.6 | ||
133 | Sam Lantinga - Thu Jul 5 07:52:35 2007 | ||
134 | * Fixed static linking with libjpeg | ||
135 | Michael Koch - Tue Feb 13 10:09:17 2007 | ||
136 | * Fixed crash in IMG_ReadXPMFromArray() | ||
137 | |||
138 | 1.2.5: | ||
139 | Maurizio Monge - Sun May 14 13:57:32 PDT 2006 | ||
140 | * Fixed loading BMP palettes at unusual offsets | ||
141 | Sam Lantinga - Thu May 11 21:51:19 PDT 2006 | ||
142 | * Added support for dynamically loading libjpeg, libpng, and libtiff. | ||
143 | Sam Lantinga - Sun Apr 30 01:48:40 PDT 2006 | ||
144 | * Added gcc-fat.sh for generating Universal binaries on Mac OS X | ||
145 | * Updated libtool support to version 1.5.22 | ||
146 | Sam Lantinga - Sat Feb 4 15:17:44 PST 2006 | ||
147 | * Added support for XV thumbnail images | ||
148 | Gautier Portet - Fri, 19 Mar 2004 17:35:12 +0100 | ||
149 | * Added support for 32-bit BMP files with alpha | ||
150 | |||
151 | 1.2.4: | ||
152 | Pierre G. Richard - Fri, 30 Jul 2004 11:13:11 +0000 (UTC) | ||
153 | * Added support for RLE encoded BMP files | ||
154 | Marc Le Douarain - Fri, 26 Dec 2003 18:23:42 +0100 | ||
155 | * Added EHB and HAM mode support to the ILBM loader | ||
156 | Sam Lantinga - Wed Nov 19 00:23:44 PST 2003 | ||
157 | * Updated libtool support for new mingw32 DLL build process | ||
158 | Holger Schemel - Mon, 04 Aug 2003 21:50:52 +0200 | ||
159 | * Fixed crash loading certain PCX images | ||
160 | Kyle Davenport - Sat, 19 Apr 2003 17:13:31 -0500 | ||
161 | * Added .la files to the development RPM, fixing RPM build on RedHat 8 | ||
162 | |||
163 | 1.2.3: | ||
164 | Ryan C. Gordon - Sat, 8 Feb 2003 09:36:33 -0500 | ||
165 | * Fixed memory leak with non-seekable SDL_RWops | ||
166 | Marc Le Douarain - Sun, 22 Dec 2002 22:59:51 +0100 | ||
167 | * Added 24-bit support to the ILBM format loader | ||
168 | Sam Lantinga - Sun Oct 20 20:55:46 PDT 2002 | ||
169 | * Added shared library support for MacOS X | ||
170 | Pete Shinners - Thu Jun 20 10:05:54 PDT 2002 | ||
171 | * The JPEG loader can now load EXIF format JPEG images | ||
172 | Dag-Erling Smorgrav - Thu May 2 19:09:48 PDT 2002 | ||
173 | * The XCF loader now ignores invisible layers and channels | ||
174 | |||
175 | 1.2.2: | ||
176 | Sam Lantinga - Sat Apr 13 07:49:47 PDT 2002 | ||
177 | * Updated autogen.sh for new versions of automake | ||
178 | * Specify the SDL API calling convention (C by default) | ||
diff --git a/vendor/SDL2_Image/COPYING.txt b/vendor/SDL2_Image/COPYING.txt new file mode 100644 index 0000000..6ebe716 --- /dev/null +++ b/vendor/SDL2_Image/COPYING.txt | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | SDL_image: An example image loading library for use with SDL | ||
3 | Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org> | ||
4 | |||
5 | This software is provided 'as-is', without any express or implied | ||
6 | warranty. In no event will the authors be held liable for any damages | ||
7 | arising from the use of this software. | ||
8 | |||
9 | Permission is granted to anyone to use this software for any purpose, | ||
10 | including commercial applications, and to alter it and redistribute it | ||
11 | freely, subject to the following restrictions: | ||
12 | |||
13 | 1. The origin of this software must not be misrepresented; you must not | ||
14 | claim that you wrote the original software. If you use this software | ||
15 | in a product, an acknowledgment in the product documentation would be | ||
16 | appreciated but is not required. | ||
17 | 2. Altered source versions must be plainly marked as such, and must not be | ||
18 | misrepresented as being the original software. | ||
19 | 3. This notice may not be removed or altered from any source distribution. | ||
20 | */ | ||
diff --git a/vendor/SDL2_Image/README.txt b/vendor/SDL2_Image/README.txt new file mode 100644 index 0000000..64ff924 --- /dev/null +++ b/vendor/SDL2_Image/README.txt | |||
@@ -0,0 +1,40 @@ | |||
1 | |||
2 | SDL_image 2.0 | ||
3 | |||
4 | The latest version of this library is available from: | ||
5 | http://www.libsdl.org/projects/SDL_image/ | ||
6 | |||
7 | This is a simple library to load images of various formats as SDL surfaces. | ||
8 | This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM, PCX, GIF, JPEG, PNG, | ||
9 | TGA, TIFF, and simple SVG formats. | ||
10 | |||
11 | API: | ||
12 | #include "SDL_image.h" | ||
13 | |||
14 | SDL_Surface *IMG_Load(const char *file); | ||
15 | or | ||
16 | SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc); | ||
17 | or | ||
18 | SDL_Surface *IMG_LoadTyped_RW(SDL_RWops *src, int freesrc, char *type); | ||
19 | |||
20 | where type is a string specifying the format (i.e. "PNG" or "pcx"). | ||
21 | Note that IMG_Load_RW cannot load TGA images. | ||
22 | |||
23 | To create a surface from an XPM image included in C source, use: | ||
24 | |||
25 | SDL_Surface *IMG_ReadXPMFromArray(char **xpm); | ||
26 | |||
27 | An example program 'showimage' is included, with source in showimage.c | ||
28 | |||
29 | JPEG support requires the JPEG library: http://www.ijg.org/ | ||
30 | PNG support requires the PNG library: http://www.libpng.org/pub/png/libpng.html | ||
31 | and the Zlib library: http://www.gzip.org/zlib/ | ||
32 | TIFF support requires the TIFF library: ftp://ftp.sgi.com/graphics/tiff/ | ||
33 | |||
34 | If you have these libraries installed in non-standard places, you can | ||
35 | try adding those paths to the configure script, e.g. | ||
36 | sh ./configure CPPFLAGS="-I/somewhere/include" LDFLAGS="-L/somewhere/lib" | ||
37 | If this works, you may need to add /somewhere/lib to your LD_LIBRARY_PATH | ||
38 | so shared library loading works correctly. | ||
39 | |||
40 | This library is under the zlib License, see the file "COPYING.txt" for details. | ||
diff --git a/vendor/SDL2_Image/include/SDL_image.h b/vendor/SDL2_Image/include/SDL_image.h new file mode 100644 index 0000000..6facc0d --- /dev/null +++ b/vendor/SDL2_Image/include/SDL_image.h | |||
@@ -0,0 +1,161 @@ | |||
1 | /* | ||
2 | SDL_image: An example image loading library for use with SDL | ||
3 | Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org> | ||
4 | |||
5 | This software is provided 'as-is', without any express or implied | ||
6 | warranty. In no event will the authors be held liable for any damages | ||
7 | arising from the use of this software. | ||
8 | |||
9 | Permission is granted to anyone to use this software for any purpose, | ||
10 | including commercial applications, and to alter it and redistribute it | ||
11 | freely, subject to the following restrictions: | ||
12 | |||
13 | 1. The origin of this software must not be misrepresented; you must not | ||
14 | claim that you wrote the original software. If you use this software | ||
15 | in a product, an acknowledgment in the product documentation would be | ||
16 | appreciated but is not required. | ||
17 | 2. Altered source versions must be plainly marked as such, and must not be | ||
18 | misrepresented as being the original software. | ||
19 | 3. This notice may not be removed or altered from any source distribution. | ||
20 | */ | ||
21 | |||
22 | /* A simple library to load images of various formats as SDL surfaces */ | ||
23 | |||
24 | #ifndef SDL_IMAGE_H_ | ||
25 | #define SDL_IMAGE_H_ | ||
26 | |||
27 | #include "SDL.h" | ||
28 | #include "SDL_version.h" | ||
29 | #include "begin_code.h" | ||
30 | |||
31 | /* Set up for C function definitions, even when using C++ */ | ||
32 | #ifdef __cplusplus | ||
33 | extern "C" { | ||
34 | #endif | ||
35 | |||
36 | /* Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL | ||
37 | */ | ||
38 | #define SDL_IMAGE_MAJOR_VERSION 2 | ||
39 | #define SDL_IMAGE_MINOR_VERSION 0 | ||
40 | #define SDL_IMAGE_PATCHLEVEL 5 | ||
41 | |||
42 | /* This macro can be used to fill a version structure with the compile-time | ||
43 | * version of the SDL_image library. | ||
44 | */ | ||
45 | #define SDL_IMAGE_VERSION(X) \ | ||
46 | { \ | ||
47 | (X)->major = SDL_IMAGE_MAJOR_VERSION; \ | ||
48 | (X)->minor = SDL_IMAGE_MINOR_VERSION; \ | ||
49 | (X)->patch = SDL_IMAGE_PATCHLEVEL; \ | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * This is the version number macro for the current SDL_image version. | ||
54 | */ | ||
55 | #define SDL_IMAGE_COMPILEDVERSION \ | ||
56 | SDL_VERSIONNUM(SDL_IMAGE_MAJOR_VERSION, SDL_IMAGE_MINOR_VERSION, SDL_IMAGE_PATCHLEVEL) | ||
57 | |||
58 | /** | ||
59 | * This macro will evaluate to true if compiled with SDL_image at least X.Y.Z. | ||
60 | */ | ||
61 | #define SDL_IMAGE_VERSION_ATLEAST(X, Y, Z) \ | ||
62 | (SDL_IMAGE_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z)) | ||
63 | |||
64 | /* This function gets the version of the dynamically linked SDL_image library. | ||
65 | it should NOT be used to fill a version structure, instead you should | ||
66 | use the SDL_IMAGE_VERSION() macro. | ||
67 | */ | ||
68 | extern DECLSPEC const SDL_version * SDLCALL IMG_Linked_Version(void); | ||
69 | |||
70 | typedef enum | ||
71 | { | ||
72 | IMG_INIT_JPG = 0x00000001, | ||
73 | IMG_INIT_PNG = 0x00000002, | ||
74 | IMG_INIT_TIF = 0x00000004, | ||
75 | IMG_INIT_WEBP = 0x00000008 | ||
76 | } IMG_InitFlags; | ||
77 | |||
78 | /* Loads dynamic libraries and prepares them for use. Flags should be | ||
79 | one or more flags from IMG_InitFlags OR'd together. | ||
80 | It returns the flags successfully initialized, or 0 on failure. | ||
81 | */ | ||
82 | extern DECLSPEC int SDLCALL IMG_Init(int flags); | ||
83 | |||
84 | /* Unloads libraries loaded with IMG_Init */ | ||
85 | extern DECLSPEC void SDLCALL IMG_Quit(void); | ||
86 | |||
87 | /* Load an image from an SDL data source. | ||
88 | The 'type' may be one of: "BMP", "GIF", "PNG", etc. | ||
89 | |||
90 | If the image format supports a transparent pixel, SDL will set the | ||
91 | colorkey for the surface. You can enable RLE acceleration on the | ||
92 | surface afterwards by calling: | ||
93 | SDL_SetColorKey(image, SDL_RLEACCEL, image->format->colorkey); | ||
94 | */ | ||
95 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadTyped_RW(SDL_RWops *src, int freesrc, const char *type); | ||
96 | /* Convenience functions */ | ||
97 | extern DECLSPEC SDL_Surface * SDLCALL IMG_Load(const char *file); | ||
98 | extern DECLSPEC SDL_Surface * SDLCALL IMG_Load_RW(SDL_RWops *src, int freesrc); | ||
99 | |||
100 | #if SDL_VERSION_ATLEAST(2,0,0) | ||
101 | /* Load an image directly into a render texture. | ||
102 | */ | ||
103 | extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTexture(SDL_Renderer *renderer, const char *file); | ||
104 | extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTexture_RW(SDL_Renderer *renderer, SDL_RWops *src, int freesrc); | ||
105 | extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTextureTyped_RW(SDL_Renderer *renderer, SDL_RWops *src, int freesrc, const char *type); | ||
106 | #endif /* SDL 2.0 */ | ||
107 | |||
108 | /* Functions to detect a file type, given a seekable source */ | ||
109 | extern DECLSPEC int SDLCALL IMG_isICO(SDL_RWops *src); | ||
110 | extern DECLSPEC int SDLCALL IMG_isCUR(SDL_RWops *src); | ||
111 | extern DECLSPEC int SDLCALL IMG_isBMP(SDL_RWops *src); | ||
112 | extern DECLSPEC int SDLCALL IMG_isGIF(SDL_RWops *src); | ||
113 | extern DECLSPEC int SDLCALL IMG_isJPG(SDL_RWops *src); | ||
114 | extern DECLSPEC int SDLCALL IMG_isLBM(SDL_RWops *src); | ||
115 | extern DECLSPEC int SDLCALL IMG_isPCX(SDL_RWops *src); | ||
116 | extern DECLSPEC int SDLCALL IMG_isPNG(SDL_RWops *src); | ||
117 | extern DECLSPEC int SDLCALL IMG_isPNM(SDL_RWops *src); | ||
118 | extern DECLSPEC int SDLCALL IMG_isSVG(SDL_RWops *src); | ||
119 | extern DECLSPEC int SDLCALL IMG_isTIF(SDL_RWops *src); | ||
120 | extern DECLSPEC int SDLCALL IMG_isXCF(SDL_RWops *src); | ||
121 | extern DECLSPEC int SDLCALL IMG_isXPM(SDL_RWops *src); | ||
122 | extern DECLSPEC int SDLCALL IMG_isXV(SDL_RWops *src); | ||
123 | extern DECLSPEC int SDLCALL IMG_isWEBP(SDL_RWops *src); | ||
124 | |||
125 | /* Individual loading functions */ | ||
126 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadICO_RW(SDL_RWops *src); | ||
127 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadCUR_RW(SDL_RWops *src); | ||
128 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadBMP_RW(SDL_RWops *src); | ||
129 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadGIF_RW(SDL_RWops *src); | ||
130 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadJPG_RW(SDL_RWops *src); | ||
131 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadLBM_RW(SDL_RWops *src); | ||
132 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadPCX_RW(SDL_RWops *src); | ||
133 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadPNG_RW(SDL_RWops *src); | ||
134 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadPNM_RW(SDL_RWops *src); | ||
135 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadSVG_RW(SDL_RWops *src); | ||
136 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadTGA_RW(SDL_RWops *src); | ||
137 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadTIF_RW(SDL_RWops *src); | ||
138 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadXCF_RW(SDL_RWops *src); | ||
139 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadXPM_RW(SDL_RWops *src); | ||
140 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadXV_RW(SDL_RWops *src); | ||
141 | extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadWEBP_RW(SDL_RWops *src); | ||
142 | |||
143 | extern DECLSPEC SDL_Surface * SDLCALL IMG_ReadXPMFromArray(char **xpm); | ||
144 | |||
145 | /* Individual saving functions */ | ||
146 | extern DECLSPEC int SDLCALL IMG_SavePNG(SDL_Surface *surface, const char *file); | ||
147 | extern DECLSPEC int SDLCALL IMG_SavePNG_RW(SDL_Surface *surface, SDL_RWops *dst, int freedst); | ||
148 | extern DECLSPEC int SDLCALL IMG_SaveJPG(SDL_Surface *surface, const char *file, int quality); | ||
149 | extern DECLSPEC int SDLCALL IMG_SaveJPG_RW(SDL_Surface *surface, SDL_RWops *dst, int freedst, int quality); | ||
150 | |||
151 | /* We'll use SDL for reporting errors */ | ||
152 | #define IMG_SetError SDL_SetError | ||
153 | #define IMG_GetError SDL_GetError | ||
154 | |||
155 | /* Ends C function definitions when using C++ */ | ||
156 | #ifdef __cplusplus | ||
157 | } | ||
158 | #endif | ||
159 | #include "close_code.h" | ||
160 | |||
161 | #endif /* SDL_IMAGE_H_ */ | ||
diff --git a/vendor/SDL2_Image/lib/x64/LICENSE.jpeg.txt b/vendor/SDL2_Image/lib/x64/LICENSE.jpeg.txt new file mode 100644 index 0000000..65be176 --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/LICENSE.jpeg.txt | |||
@@ -0,0 +1,66 @@ | |||
1 | The source code to this library used with SDL_image can be found here: | ||
2 | https://hg.libsdl.org/SDL_image/file/default/external | ||
3 | --- | ||
4 | |||
5 | LEGAL ISSUES | ||
6 | ============ | ||
7 | |||
8 | In plain English: | ||
9 | |||
10 | 1. We don't promise that this software works. (But if you find any bugs, | ||
11 | please let us know!) | ||
12 | 2. You can use this software for whatever you want. You don't have to pay us. | ||
13 | 3. You may not pretend that you wrote this software. If you use it in a | ||
14 | program, you must acknowledge somewhere in your documentation that | ||
15 | you've used the IJG code. | ||
16 | |||
17 | In legalese: | ||
18 | |||
19 | The authors make NO WARRANTY or representation, either express or implied, | ||
20 | with respect to this software, its quality, accuracy, merchantability, or | ||
21 | fitness for a particular purpose. This software is provided "AS IS", and you, | ||
22 | its user, assume the entire risk as to its quality and accuracy. | ||
23 | |||
24 | This software is copyright (C) 1991-2016, Thomas G. Lane, Guido Vollbeding. | ||
25 | All Rights Reserved except as specified below. | ||
26 | |||
27 | Permission is hereby granted to use, copy, modify, and distribute this | ||
28 | software (or portions thereof) for any purpose, without fee, subject to these | ||
29 | conditions: | ||
30 | (1) If any part of the source code for this software is distributed, then this | ||
31 | README file must be included, with this copyright and no-warranty notice | ||
32 | unaltered; and any additions, deletions, or changes to the original files | ||
33 | must be clearly indicated in accompanying documentation. | ||
34 | (2) If only executable code is distributed, then the accompanying | ||
35 | documentation must state that "this software is based in part on the work of | ||
36 | the Independent JPEG Group". | ||
37 | (3) Permission for use of this software is granted only if the user accepts | ||
38 | full responsibility for any undesirable consequences; the authors accept | ||
39 | NO LIABILITY for damages of any kind. | ||
40 | |||
41 | These conditions apply to any software derived from or based on the IJG code, | ||
42 | not just to the unmodified library. If you use our work, you ought to | ||
43 | acknowledge us. | ||
44 | |||
45 | Permission is NOT granted for the use of any IJG author's name or company name | ||
46 | in advertising or publicity relating to this software or products derived from | ||
47 | it. This software may be referred to only as "the Independent JPEG Group's | ||
48 | software". | ||
49 | |||
50 | We specifically permit and encourage the use of this software as the basis of | ||
51 | commercial products, provided that all warranty or liability claims are | ||
52 | assumed by the product vendor. | ||
53 | |||
54 | |||
55 | The Unix configuration script "configure" was produced with GNU Autoconf. | ||
56 | It is copyright by the Free Software Foundation but is freely distributable. | ||
57 | The same holds for its supporting scripts (config.guess, config.sub, | ||
58 | ltmain.sh). Another support script, install-sh, is copyright by X Consortium | ||
59 | but is also freely distributable. | ||
60 | |||
61 | The IJG distribution formerly included code to read and write GIF files. | ||
62 | To avoid entanglement with the Unisys LZW patent (now expired), GIF reading | ||
63 | support has been removed altogether, and the GIF writer has been simplified | ||
64 | to produce "uncompressed GIFs". This technique does not use the LZW | ||
65 | algorithm; the resulting GIF files are larger than usual, but are readable | ||
66 | by all standard GIF decoders. | ||
diff --git a/vendor/SDL2_Image/lib/x64/LICENSE.png.txt b/vendor/SDL2_Image/lib/x64/LICENSE.png.txt new file mode 100644 index 0000000..6b14013 --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/LICENSE.png.txt | |||
@@ -0,0 +1,137 @@ | |||
1 | The source code to this library used with SDL_image can be found here: | ||
2 | https://hg.libsdl.org/SDL_image/file/default/external | ||
3 | --- | ||
4 | COPYRIGHT NOTICE, DISCLAIMER, and LICENSE | ||
5 | ========================================= | ||
6 | |||
7 | PNG Reference Library License version 2 | ||
8 | --------------------------------------- | ||
9 | |||
10 | * Copyright (c) 1995-2019 The PNG Reference Library Authors. | ||
11 | * Copyright (c) 2018-2019 Cosmin Truta. | ||
12 | * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. | ||
13 | * Copyright (c) 1996-1997 Andreas Dilger. | ||
14 | * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. | ||
15 | |||
16 | The software is supplied "as is", without warranty of any kind, | ||
17 | express or implied, including, without limitation, the warranties | ||
18 | of merchantability, fitness for a particular purpose, title, and | ||
19 | non-infringement. In no event shall the Copyright owners, or | ||
20 | anyone distributing the software, be liable for any damages or | ||
21 | other liability, whether in contract, tort or otherwise, arising | ||
22 | from, out of, or in connection with the software, or the use or | ||
23 | other dealings in the software, even if advised of the possibility | ||
24 | of such damage. | ||
25 | |||
26 | Permission is hereby granted to use, copy, modify, and distribute | ||
27 | this software, or portions hereof, for any purpose, without fee, | ||
28 | subject to the following restrictions: | ||
29 | |||
30 | 1. The origin of this software must not be misrepresented; you | ||
31 | must not claim that you wrote the original software. If you | ||
32 | use this software in a product, an acknowledgment in the product | ||
33 | documentation would be appreciated, but is not required. | ||
34 | |||
35 | 2. Altered source versions must be plainly marked as such, and must | ||
36 | not be misrepresented as being the original software. | ||
37 | |||
38 | 3. This Copyright notice may not be removed or altered from any | ||
39 | source or altered source distribution. | ||
40 | |||
41 | |||
42 | PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35) | ||
43 | ----------------------------------------------------------------------- | ||
44 | |||
45 | libpng versions 1.0.7, July 1, 2000, through 1.6.35, July 15, 2018 are | ||
46 | Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are | ||
47 | derived from libpng-1.0.6, and are distributed according to the same | ||
48 | disclaimer and license as libpng-1.0.6 with the following individuals | ||
49 | added to the list of Contributing Authors: | ||
50 | |||
51 | Simon-Pierre Cadieux | ||
52 | Eric S. Raymond | ||
53 | Mans Rullgard | ||
54 | Cosmin Truta | ||
55 | Gilles Vollant | ||
56 | James Yu | ||
57 | Mandar Sahastrabuddhe | ||
58 | Google Inc. | ||
59 | Vadim Barkov | ||
60 | |||
61 | and with the following additions to the disclaimer: | ||
62 | |||
63 | There is no warranty against interference with your enjoyment of | ||
64 | the library or against infringement. There is no warranty that our | ||
65 | efforts or the library will fulfill any of your particular purposes | ||
66 | or needs. This library is provided with all faults, and the entire | ||
67 | risk of satisfactory quality, performance, accuracy, and effort is | ||
68 | with the user. | ||
69 | |||
70 | Some files in the "contrib" directory and some configure-generated | ||
71 | files that are distributed with libpng have other copyright owners, and | ||
72 | are released under other open source licenses. | ||
73 | |||
74 | libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are | ||
75 | Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from | ||
76 | libpng-0.96, and are distributed according to the same disclaimer and | ||
77 | license as libpng-0.96, with the following individuals added to the | ||
78 | list of Contributing Authors: | ||
79 | |||
80 | Tom Lane | ||
81 | Glenn Randers-Pehrson | ||
82 | Willem van Schaik | ||
83 | |||
84 | libpng versions 0.89, June 1996, through 0.96, May 1997, are | ||
85 | Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88, | ||
86 | and are distributed according to the same disclaimer and license as | ||
87 | libpng-0.88, with the following individuals added to the list of | ||
88 | Contributing Authors: | ||
89 | |||
90 | John Bowler | ||
91 | Kevin Bracey | ||
92 | Sam Bushell | ||
93 | Magnus Holmgren | ||
94 | Greg Roelofs | ||
95 | Tom Tanner | ||
96 | |||
97 | Some files in the "scripts" directory have other copyright owners, | ||
98 | but are released under this license. | ||
99 | |||
100 | libpng versions 0.5, May 1995, through 0.88, January 1996, are | ||
101 | Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. | ||
102 | |||
103 | For the purposes of this copyright and license, "Contributing Authors" | ||
104 | is defined as the following set of individuals: | ||
105 | |||
106 | Andreas Dilger | ||
107 | Dave Martindale | ||
108 | Guy Eric Schalnat | ||
109 | Paul Schmidt | ||
110 | Tim Wegner | ||
111 | |||
112 | The PNG Reference Library is supplied "AS IS". The Contributing | ||
113 | Authors and Group 42, Inc. disclaim all warranties, expressed or | ||
114 | implied, including, without limitation, the warranties of | ||
115 | merchantability and of fitness for any purpose. The Contributing | ||
116 | Authors and Group 42, Inc. assume no liability for direct, indirect, | ||
117 | incidental, special, exemplary, or consequential damages, which may | ||
118 | result from the use of the PNG Reference Library, even if advised of | ||
119 | the possibility of such damage. | ||
120 | |||
121 | Permission is hereby granted to use, copy, modify, and distribute this | ||
122 | source code, or portions hereof, for any purpose, without fee, subject | ||
123 | to the following restrictions: | ||
124 | |||
125 | 1. The origin of this source code must not be misrepresented. | ||
126 | |||
127 | 2. Altered versions must be plainly marked as such and must not | ||
128 | be misrepresented as being the original source. | ||
129 | |||
130 | 3. This Copyright notice may not be removed or altered from any | ||
131 | source or altered source distribution. | ||
132 | |||
133 | The Contributing Authors and Group 42, Inc. specifically permit, | ||
134 | without fee, and encourage the use of this source code as a component | ||
135 | to supporting the PNG file format in commercial products. If you use | ||
136 | this source code in a product, acknowledgment is not required but would | ||
137 | be appreciated. | ||
diff --git a/vendor/SDL2_Image/lib/x64/LICENSE.tiff.txt b/vendor/SDL2_Image/lib/x64/LICENSE.tiff.txt new file mode 100644 index 0000000..afecde8 --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/LICENSE.tiff.txt | |||
@@ -0,0 +1,25 @@ | |||
1 | The source code to this library used with SDL_image can be found here: | ||
2 | https://hg.libsdl.org/SDL_image/file/default/external | ||
3 | --- | ||
4 | |||
5 | Copyright (c) 1988-1997 Sam Leffler | ||
6 | Copyright (c) 1991-1997 Silicon Graphics, Inc. | ||
7 | |||
8 | Permission to use, copy, modify, distribute, and sell this software and | ||
9 | its documentation for any purpose is hereby granted without fee, provided | ||
10 | that (i) the above copyright notices and this permission notice appear in | ||
11 | all copies of the software and related documentation, and (ii) the names of | ||
12 | Sam Leffler and Silicon Graphics may not be used in any advertising or | ||
13 | publicity relating to the software without the specific, prior written | ||
14 | permission of Sam Leffler and Silicon Graphics. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, | ||
17 | EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY | ||
18 | WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. | ||
19 | |||
20 | IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR | ||
21 | ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, | ||
22 | OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | ||
23 | WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF | ||
24 | LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE | ||
25 | OF THIS SOFTWARE. | ||
diff --git a/vendor/SDL2_Image/lib/x64/LICENSE.webp.txt b/vendor/SDL2_Image/lib/x64/LICENSE.webp.txt new file mode 100644 index 0000000..d79c9a8 --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/LICENSE.webp.txt | |||
@@ -0,0 +1,34 @@ | |||
1 | The source code to this library used with SDL_image can be found here: | ||
2 | https://hg.libsdl.org/SDL_image/file/default/external | ||
3 | --- | ||
4 | |||
5 | Copyright (c) 2010, Google Inc. All rights reserved. | ||
6 | |||
7 | Redistribution and use in source and binary forms, with or without | ||
8 | modification, are permitted provided that the following conditions are | ||
9 | met: | ||
10 | |||
11 | * Redistributions of source code must retain the above copyright | ||
12 | notice, this list of conditions and the following disclaimer. | ||
13 | |||
14 | * Redistributions in binary form must reproduce the above copyright | ||
15 | notice, this list of conditions and the following disclaimer in | ||
16 | the documentation and/or other materials provided with the | ||
17 | distribution. | ||
18 | |||
19 | * Neither the name of Google nor the names of its contributors may | ||
20 | be used to endorse or promote products derived from this software | ||
21 | without specific prior written permission. | ||
22 | |||
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
24 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
25 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
26 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
27 | HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
28 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
29 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
30 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
31 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
32 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
33 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
34 | |||
diff --git a/vendor/SDL2_Image/lib/x64/LICENSE.zlib.txt b/vendor/SDL2_Image/lib/x64/LICENSE.zlib.txt new file mode 100644 index 0000000..6625c92 --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/LICENSE.zlib.txt | |||
@@ -0,0 +1,35 @@ | |||
1 | The source code to this library used with SDL_image can be found here: | ||
2 | https://hg.libsdl.org/SDL_image/file/default/external | ||
3 | --- | ||
4 | |||
5 | Copyright notice: | ||
6 | |||
7 | (C) 1995-2017 Jean-loup Gailly and Mark Adler | ||
8 | |||
9 | This software is provided 'as-is', without any express or implied | ||
10 | warranty. In no event will the authors be held liable for any damages | ||
11 | arising from the use of this software. | ||
12 | |||
13 | Permission is granted to anyone to use this software for any purpose, | ||
14 | including commercial applications, and to alter it and redistribute it | ||
15 | freely, subject to the following restrictions: | ||
16 | |||
17 | 1. The origin of this software must not be misrepresented; you must not | ||
18 | claim that you wrote the original software. If you use this software | ||
19 | in a product, an acknowledgment in the product documentation would be | ||
20 | appreciated but is not required. | ||
21 | 2. Altered source versions must be plainly marked as such, and must not be | ||
22 | misrepresented as being the original software. | ||
23 | 3. This notice may not be removed or altered from any source distribution. | ||
24 | |||
25 | Jean-loup Gailly Mark Adler | ||
26 | jloup@gzip.org madler@alumni.caltech.edu | ||
27 | |||
28 | If you use the zlib library in a product, we would appreciate *not* receiving | ||
29 | lengthy legal documents to sign. The sources are provided for free but without | ||
30 | warranty of any kind. The library has been entirely written by Jean-loup | ||
31 | Gailly and Mark Adler; it does not include third-party code. | ||
32 | |||
33 | If you redistribute modified sources, we would appreciate that you include in | ||
34 | the file ChangeLog history information documenting your changes. Please read | ||
35 | the FAQ for more information on the distribution of modified source versions. | ||
diff --git a/vendor/SDL2_Image/lib/x64/SDL2_image.dll b/vendor/SDL2_Image/lib/x64/SDL2_image.dll new file mode 100644 index 0000000..d701655 --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/SDL2_image.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x64/SDL2_image.lib b/vendor/SDL2_Image/lib/x64/SDL2_image.lib new file mode 100644 index 0000000..6d00aed --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/SDL2_image.lib | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x64/libjpeg-9.dll b/vendor/SDL2_Image/lib/x64/libjpeg-9.dll new file mode 100644 index 0000000..9a05528 --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/libjpeg-9.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x64/libpng16-16.dll b/vendor/SDL2_Image/lib/x64/libpng16-16.dll new file mode 100644 index 0000000..709f724 --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/libpng16-16.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x64/libtiff-5.dll b/vendor/SDL2_Image/lib/x64/libtiff-5.dll new file mode 100644 index 0000000..fc8a7c0 --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/libtiff-5.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x64/libwebp-7.dll b/vendor/SDL2_Image/lib/x64/libwebp-7.dll new file mode 100644 index 0000000..fad57b2 --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/libwebp-7.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x64/zlib1.dll b/vendor/SDL2_Image/lib/x64/zlib1.dll new file mode 100644 index 0000000..e7493de --- /dev/null +++ b/vendor/SDL2_Image/lib/x64/zlib1.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x86/LICENSE.jpeg.txt b/vendor/SDL2_Image/lib/x86/LICENSE.jpeg.txt new file mode 100644 index 0000000..65be176 --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/LICENSE.jpeg.txt | |||
@@ -0,0 +1,66 @@ | |||
1 | The source code to this library used with SDL_image can be found here: | ||
2 | https://hg.libsdl.org/SDL_image/file/default/external | ||
3 | --- | ||
4 | |||
5 | LEGAL ISSUES | ||
6 | ============ | ||
7 | |||
8 | In plain English: | ||
9 | |||
10 | 1. We don't promise that this software works. (But if you find any bugs, | ||
11 | please let us know!) | ||
12 | 2. You can use this software for whatever you want. You don't have to pay us. | ||
13 | 3. You may not pretend that you wrote this software. If you use it in a | ||
14 | program, you must acknowledge somewhere in your documentation that | ||
15 | you've used the IJG code. | ||
16 | |||
17 | In legalese: | ||
18 | |||
19 | The authors make NO WARRANTY or representation, either express or implied, | ||
20 | with respect to this software, its quality, accuracy, merchantability, or | ||
21 | fitness for a particular purpose. This software is provided "AS IS", and you, | ||
22 | its user, assume the entire risk as to its quality and accuracy. | ||
23 | |||
24 | This software is copyright (C) 1991-2016, Thomas G. Lane, Guido Vollbeding. | ||
25 | All Rights Reserved except as specified below. | ||
26 | |||
27 | Permission is hereby granted to use, copy, modify, and distribute this | ||
28 | software (or portions thereof) for any purpose, without fee, subject to these | ||
29 | conditions: | ||
30 | (1) If any part of the source code for this software is distributed, then this | ||
31 | README file must be included, with this copyright and no-warranty notice | ||
32 | unaltered; and any additions, deletions, or changes to the original files | ||
33 | must be clearly indicated in accompanying documentation. | ||
34 | (2) If only executable code is distributed, then the accompanying | ||
35 | documentation must state that "this software is based in part on the work of | ||
36 | the Independent JPEG Group". | ||
37 | (3) Permission for use of this software is granted only if the user accepts | ||
38 | full responsibility for any undesirable consequences; the authors accept | ||
39 | NO LIABILITY for damages of any kind. | ||
40 | |||
41 | These conditions apply to any software derived from or based on the IJG code, | ||
42 | not just to the unmodified library. If you use our work, you ought to | ||
43 | acknowledge us. | ||
44 | |||
45 | Permission is NOT granted for the use of any IJG author's name or company name | ||
46 | in advertising or publicity relating to this software or products derived from | ||
47 | it. This software may be referred to only as "the Independent JPEG Group's | ||
48 | software". | ||
49 | |||
50 | We specifically permit and encourage the use of this software as the basis of | ||
51 | commercial products, provided that all warranty or liability claims are | ||
52 | assumed by the product vendor. | ||
53 | |||
54 | |||
55 | The Unix configuration script "configure" was produced with GNU Autoconf. | ||
56 | It is copyright by the Free Software Foundation but is freely distributable. | ||
57 | The same holds for its supporting scripts (config.guess, config.sub, | ||
58 | ltmain.sh). Another support script, install-sh, is copyright by X Consortium | ||
59 | but is also freely distributable. | ||
60 | |||
61 | The IJG distribution formerly included code to read and write GIF files. | ||
62 | To avoid entanglement with the Unisys LZW patent (now expired), GIF reading | ||
63 | support has been removed altogether, and the GIF writer has been simplified | ||
64 | to produce "uncompressed GIFs". This technique does not use the LZW | ||
65 | algorithm; the resulting GIF files are larger than usual, but are readable | ||
66 | by all standard GIF decoders. | ||
diff --git a/vendor/SDL2_Image/lib/x86/LICENSE.png.txt b/vendor/SDL2_Image/lib/x86/LICENSE.png.txt new file mode 100644 index 0000000..6b14013 --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/LICENSE.png.txt | |||
@@ -0,0 +1,137 @@ | |||
1 | The source code to this library used with SDL_image can be found here: | ||
2 | https://hg.libsdl.org/SDL_image/file/default/external | ||
3 | --- | ||
4 | COPYRIGHT NOTICE, DISCLAIMER, and LICENSE | ||
5 | ========================================= | ||
6 | |||
7 | PNG Reference Library License version 2 | ||
8 | --------------------------------------- | ||
9 | |||
10 | * Copyright (c) 1995-2019 The PNG Reference Library Authors. | ||
11 | * Copyright (c) 2018-2019 Cosmin Truta. | ||
12 | * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. | ||
13 | * Copyright (c) 1996-1997 Andreas Dilger. | ||
14 | * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. | ||
15 | |||
16 | The software is supplied "as is", without warranty of any kind, | ||
17 | express or implied, including, without limitation, the warranties | ||
18 | of merchantability, fitness for a particular purpose, title, and | ||
19 | non-infringement. In no event shall the Copyright owners, or | ||
20 | anyone distributing the software, be liable for any damages or | ||
21 | other liability, whether in contract, tort or otherwise, arising | ||
22 | from, out of, or in connection with the software, or the use or | ||
23 | other dealings in the software, even if advised of the possibility | ||
24 | of such damage. | ||
25 | |||
26 | Permission is hereby granted to use, copy, modify, and distribute | ||
27 | this software, or portions hereof, for any purpose, without fee, | ||
28 | subject to the following restrictions: | ||
29 | |||
30 | 1. The origin of this software must not be misrepresented; you | ||
31 | must not claim that you wrote the original software. If you | ||
32 | use this software in a product, an acknowledgment in the product | ||
33 | documentation would be appreciated, but is not required. | ||
34 | |||
35 | 2. Altered source versions must be plainly marked as such, and must | ||
36 | not be misrepresented as being the original software. | ||
37 | |||
38 | 3. This Copyright notice may not be removed or altered from any | ||
39 | source or altered source distribution. | ||
40 | |||
41 | |||
42 | PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35) | ||
43 | ----------------------------------------------------------------------- | ||
44 | |||
45 | libpng versions 1.0.7, July 1, 2000, through 1.6.35, July 15, 2018 are | ||
46 | Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are | ||
47 | derived from libpng-1.0.6, and are distributed according to the same | ||
48 | disclaimer and license as libpng-1.0.6 with the following individuals | ||
49 | added to the list of Contributing Authors: | ||
50 | |||
51 | Simon-Pierre Cadieux | ||
52 | Eric S. Raymond | ||
53 | Mans Rullgard | ||
54 | Cosmin Truta | ||
55 | Gilles Vollant | ||
56 | James Yu | ||
57 | Mandar Sahastrabuddhe | ||
58 | Google Inc. | ||
59 | Vadim Barkov | ||
60 | |||
61 | and with the following additions to the disclaimer: | ||
62 | |||
63 | There is no warranty against interference with your enjoyment of | ||
64 | the library or against infringement. There is no warranty that our | ||
65 | efforts or the library will fulfill any of your particular purposes | ||
66 | or needs. This library is provided with all faults, and the entire | ||
67 | risk of satisfactory quality, performance, accuracy, and effort is | ||
68 | with the user. | ||
69 | |||
70 | Some files in the "contrib" directory and some configure-generated | ||
71 | files that are distributed with libpng have other copyright owners, and | ||
72 | are released under other open source licenses. | ||
73 | |||
74 | libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are | ||
75 | Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from | ||
76 | libpng-0.96, and are distributed according to the same disclaimer and | ||
77 | license as libpng-0.96, with the following individuals added to the | ||
78 | list of Contributing Authors: | ||
79 | |||
80 | Tom Lane | ||
81 | Glenn Randers-Pehrson | ||
82 | Willem van Schaik | ||
83 | |||
84 | libpng versions 0.89, June 1996, through 0.96, May 1997, are | ||
85 | Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88, | ||
86 | and are distributed according to the same disclaimer and license as | ||
87 | libpng-0.88, with the following individuals added to the list of | ||
88 | Contributing Authors: | ||
89 | |||
90 | John Bowler | ||
91 | Kevin Bracey | ||
92 | Sam Bushell | ||
93 | Magnus Holmgren | ||
94 | Greg Roelofs | ||
95 | Tom Tanner | ||
96 | |||
97 | Some files in the "scripts" directory have other copyright owners, | ||
98 | but are released under this license. | ||
99 | |||
100 | libpng versions 0.5, May 1995, through 0.88, January 1996, are | ||
101 | Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. | ||
102 | |||
103 | For the purposes of this copyright and license, "Contributing Authors" | ||
104 | is defined as the following set of individuals: | ||
105 | |||
106 | Andreas Dilger | ||
107 | Dave Martindale | ||
108 | Guy Eric Schalnat | ||
109 | Paul Schmidt | ||
110 | Tim Wegner | ||
111 | |||
112 | The PNG Reference Library is supplied "AS IS". The Contributing | ||
113 | Authors and Group 42, Inc. disclaim all warranties, expressed or | ||
114 | implied, including, without limitation, the warranties of | ||
115 | merchantability and of fitness for any purpose. The Contributing | ||
116 | Authors and Group 42, Inc. assume no liability for direct, indirect, | ||
117 | incidental, special, exemplary, or consequential damages, which may | ||
118 | result from the use of the PNG Reference Library, even if advised of | ||
119 | the possibility of such damage. | ||
120 | |||
121 | Permission is hereby granted to use, copy, modify, and distribute this | ||
122 | source code, or portions hereof, for any purpose, without fee, subject | ||
123 | to the following restrictions: | ||
124 | |||
125 | 1. The origin of this source code must not be misrepresented. | ||
126 | |||
127 | 2. Altered versions must be plainly marked as such and must not | ||
128 | be misrepresented as being the original source. | ||
129 | |||
130 | 3. This Copyright notice may not be removed or altered from any | ||
131 | source or altered source distribution. | ||
132 | |||
133 | The Contributing Authors and Group 42, Inc. specifically permit, | ||
134 | without fee, and encourage the use of this source code as a component | ||
135 | to supporting the PNG file format in commercial products. If you use | ||
136 | this source code in a product, acknowledgment is not required but would | ||
137 | be appreciated. | ||
diff --git a/vendor/SDL2_Image/lib/x86/LICENSE.tiff.txt b/vendor/SDL2_Image/lib/x86/LICENSE.tiff.txt new file mode 100644 index 0000000..afecde8 --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/LICENSE.tiff.txt | |||
@@ -0,0 +1,25 @@ | |||
1 | The source code to this library used with SDL_image can be found here: | ||
2 | https://hg.libsdl.org/SDL_image/file/default/external | ||
3 | --- | ||
4 | |||
5 | Copyright (c) 1988-1997 Sam Leffler | ||
6 | Copyright (c) 1991-1997 Silicon Graphics, Inc. | ||
7 | |||
8 | Permission to use, copy, modify, distribute, and sell this software and | ||
9 | its documentation for any purpose is hereby granted without fee, provided | ||
10 | that (i) the above copyright notices and this permission notice appear in | ||
11 | all copies of the software and related documentation, and (ii) the names of | ||
12 | Sam Leffler and Silicon Graphics may not be used in any advertising or | ||
13 | publicity relating to the software without the specific, prior written | ||
14 | permission of Sam Leffler and Silicon Graphics. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, | ||
17 | EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY | ||
18 | WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. | ||
19 | |||
20 | IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR | ||
21 | ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, | ||
22 | OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | ||
23 | WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF | ||
24 | LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE | ||
25 | OF THIS SOFTWARE. | ||
diff --git a/vendor/SDL2_Image/lib/x86/LICENSE.webp.txt b/vendor/SDL2_Image/lib/x86/LICENSE.webp.txt new file mode 100644 index 0000000..d79c9a8 --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/LICENSE.webp.txt | |||
@@ -0,0 +1,34 @@ | |||
1 | The source code to this library used with SDL_image can be found here: | ||
2 | https://hg.libsdl.org/SDL_image/file/default/external | ||
3 | --- | ||
4 | |||
5 | Copyright (c) 2010, Google Inc. All rights reserved. | ||
6 | |||
7 | Redistribution and use in source and binary forms, with or without | ||
8 | modification, are permitted provided that the following conditions are | ||
9 | met: | ||
10 | |||
11 | * Redistributions of source code must retain the above copyright | ||
12 | notice, this list of conditions and the following disclaimer. | ||
13 | |||
14 | * Redistributions in binary form must reproduce the above copyright | ||
15 | notice, this list of conditions and the following disclaimer in | ||
16 | the documentation and/or other materials provided with the | ||
17 | distribution. | ||
18 | |||
19 | * Neither the name of Google nor the names of its contributors may | ||
20 | be used to endorse or promote products derived from this software | ||
21 | without specific prior written permission. | ||
22 | |||
23 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
24 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
25 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
26 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
27 | HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
28 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
29 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
30 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
31 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
32 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
33 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
34 | |||
diff --git a/vendor/SDL2_Image/lib/x86/LICENSE.zlib.txt b/vendor/SDL2_Image/lib/x86/LICENSE.zlib.txt new file mode 100644 index 0000000..6625c92 --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/LICENSE.zlib.txt | |||
@@ -0,0 +1,35 @@ | |||
1 | The source code to this library used with SDL_image can be found here: | ||
2 | https://hg.libsdl.org/SDL_image/file/default/external | ||
3 | --- | ||
4 | |||
5 | Copyright notice: | ||
6 | |||
7 | (C) 1995-2017 Jean-loup Gailly and Mark Adler | ||
8 | |||
9 | This software is provided 'as-is', without any express or implied | ||
10 | warranty. In no event will the authors be held liable for any damages | ||
11 | arising from the use of this software. | ||
12 | |||
13 | Permission is granted to anyone to use this software for any purpose, | ||
14 | including commercial applications, and to alter it and redistribute it | ||
15 | freely, subject to the following restrictions: | ||
16 | |||
17 | 1. The origin of this software must not be misrepresented; you must not | ||
18 | claim that you wrote the original software. If you use this software | ||
19 | in a product, an acknowledgment in the product documentation would be | ||
20 | appreciated but is not required. | ||
21 | 2. Altered source versions must be plainly marked as such, and must not be | ||
22 | misrepresented as being the original software. | ||
23 | 3. This notice may not be removed or altered from any source distribution. | ||
24 | |||
25 | Jean-loup Gailly Mark Adler | ||
26 | jloup@gzip.org madler@alumni.caltech.edu | ||
27 | |||
28 | If you use the zlib library in a product, we would appreciate *not* receiving | ||
29 | lengthy legal documents to sign. The sources are provided for free but without | ||
30 | warranty of any kind. The library has been entirely written by Jean-loup | ||
31 | Gailly and Mark Adler; it does not include third-party code. | ||
32 | |||
33 | If you redistribute modified sources, we would appreciate that you include in | ||
34 | the file ChangeLog history information documenting your changes. Please read | ||
35 | the FAQ for more information on the distribution of modified source versions. | ||
diff --git a/vendor/SDL2_Image/lib/x86/SDL2_image.dll b/vendor/SDL2_Image/lib/x86/SDL2_image.dll new file mode 100644 index 0000000..ab6f38b --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/SDL2_image.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x86/SDL2_image.lib b/vendor/SDL2_Image/lib/x86/SDL2_image.lib new file mode 100644 index 0000000..3fc6a5a --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/SDL2_image.lib | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x86/libjpeg-9.dll b/vendor/SDL2_Image/lib/x86/libjpeg-9.dll new file mode 100644 index 0000000..9d8911c --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/libjpeg-9.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x86/libpng16-16.dll b/vendor/SDL2_Image/lib/x86/libpng16-16.dll new file mode 100644 index 0000000..fd5db8d --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/libpng16-16.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x86/libtiff-5.dll b/vendor/SDL2_Image/lib/x86/libtiff-5.dll new file mode 100644 index 0000000..af3c3e6 --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/libtiff-5.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x86/libwebp-7.dll b/vendor/SDL2_Image/lib/x86/libwebp-7.dll new file mode 100644 index 0000000..c11bf13 --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/libwebp-7.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_Image/lib/x86/zlib1.dll b/vendor/SDL2_Image/lib/x86/zlib1.dll new file mode 100644 index 0000000..3a45deb --- /dev/null +++ b/vendor/SDL2_Image/lib/x86/zlib1.dll | |||
Binary files differ | |||