SDL_image: Updated license of ImageIO loading code to Zlib

From e36b701c2969bc3b31a7f2dccd444eb8f6d18d93 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 16 Jan 2026 13:16:47 -0800
Subject: [PATCH] Updated license of ImageIO loading code to Zlib

This change is made with the written permission of Eric Wing
---
 src/IMG_ImageIO.h | 26 +++++++++++++++++++-------
 src/IMG_ImageIO.m | 26 +++++++++++++++++++-------
 2 files changed, 38 insertions(+), 14 deletions(-)

diff --git a/src/IMG_ImageIO.h b/src/IMG_ImageIO.h
index 1ec86385..b62347fe 100644
--- a/src/IMG_ImageIO.h
+++ b/src/IMG_ImageIO.h
@@ -1,11 +1,23 @@
 /*
- *  IMG_ImageIO.c
- *  SDL_image
- *
- *  Created by Eric Wing on 1/1/09.
- *  Copyright 2009 __MyCompanyName__. All rights reserved.
- *
- */
+  SDL_image:  An example image loading library for use with SDL
+  Copyright (C) 1997-2026 Sam Lantinga <slouken@libsdl.org>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
 
 extern SDL_Surface *IMG_LoadPNG_ImageIO(SDL_IOStream *src);
 
diff --git a/src/IMG_ImageIO.m b/src/IMG_ImageIO.m
index d17d937a..d1327ec9 100644
--- a/src/IMG_ImageIO.m
+++ b/src/IMG_ImageIO.m
@@ -1,11 +1,23 @@
 /*
- *  IMG_ImageIO.c
- *  SDL_image
- *
- *  Created by Eric Wing on 1/1/09.
- *  Copyright 2009 __MyCompanyName__. All rights reserved.
- *
- */
+  IMG_ImageIO.m: Support for loading images using the ImageIO library
+  Copyright (C) 2009-2026 Eric Wing <ewing.dev@playcontrol.net>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
 
 #if defined(__APPLE__) && !defined(SDL_IMAGE_USE_COMMON_BACKEND)