Skip to content

Commit e36b701

Browse files
committed
Updated license of ImageIO loading code to Zlib
This change is made with the written permission of Eric Wing
1 parent 8a10475 commit e36b701

File tree

2 files changed

+38
-14
lines changed

2 files changed

+38
-14
lines changed

src/IMG_ImageIO.h

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
/*
2-
* IMG_ImageIO.c
3-
* SDL_image
4-
*
5-
* Created by Eric Wing on 1/1/09.
6-
* Copyright 2009 __MyCompanyName__. All rights reserved.
7-
*
8-
*/
2+
SDL_image: An example image loading library for use with SDL
3+
Copyright (C) 1997-2026 Sam Lantinga <[email protected]>
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+
*/
921

1022
extern SDL_Surface *IMG_LoadPNG_ImageIO(SDL_IOStream *src);
1123

src/IMG_ImageIO.m

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
/*
2-
* IMG_ImageIO.c
3-
* SDL_image
4-
*
5-
* Created by Eric Wing on 1/1/09.
6-
* Copyright 2009 __MyCompanyName__. All rights reserved.
7-
*
8-
*/
2+
IMG_ImageIO.m: Support for loading images using the ImageIO library
3+
Copyright (C) 2009-2026 Eric Wing <[email protected]>
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+
*/
921

1022
#if defined(__APPLE__) && !defined(SDL_IMAGE_USE_COMMON_BACKEND)
1123

0 commit comments

Comments
 (0)