[libpng16] Recognize known sRGB ICC profiles while reading and issue a warning

about it, if PNG_WARN_IF_iCCP_IS_sRGB_SUPPORTED is defined.
This commit is contained in:
Glenn Randers-Pehrson
2012-03-28 10:58:01 -05:00
parent 13a87d9682
commit 48015617d3
5 changed files with 81 additions and 44 deletions

View File

@@ -3,7 +3,7 @@
/* pnglibconf.h - library build configuration */
/* Libpng 1.6.0beta20 - March 21, 2012 */
/* Libpng 1.6.0beta20 - March 28, 2012 */
/* Copyright (c) 1998-2012 Glenn Randers-Pehrson */
@@ -138,6 +138,7 @@
#define PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED
#define PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED
#define PNG_SIMPLIFIED_WRITE_SUPPORTED
#define PNG_WARN_IF_iCCP_IS_sRGB_SUPPORTED
#define PNG_sPLT_SUPPORTED
#define PNG_sRGB_SUPPORTED
#define PNG_STDIO_SUPPORTED