Restore LIBPNG for png files

Restores the use of libpng for png files as stb does not support writing out 16bit png files.
This commit is contained in:
marauder2k7 2025-12-31 11:00:07 +00:00
parent e9296bc882
commit 7f351ef429
489 changed files with 170208 additions and 108 deletions

View file

@ -0,0 +1,19 @@
/* vers.c - define format of libpng.vers
*
* Last changed in libpng version 1.6.16 [December 22, 2014]
* Copyright (c) 2011-2014 Glenn Randers-Pehrson
*
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
* and license in png.h
*/
#define PNG_EXPORTA(ordinal, type, name, args, attributes)\
PNG_DFN " @" SYMBOL_PREFIX "@@" name "@;"
PNG_DFN "@" PNGLIB_LIBNAME "@ {global:"
#include "../png.h"
PNG_DFN "local: *; };"