|
@@ -1,9 +1,9 @@
|
|
|
|
|
|
/* png.h - header file for PNG reference library
|
|
|
*
|
|
|
- * libpng version 1.6.26, October 20, 2016
|
|
|
+ * libpng version 1.6.28, January 5, 2017
|
|
|
*
|
|
|
- * Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
|
|
|
+ * Copyright (c) 1998-2002,2004,2006-2017 Glenn Randers-Pehrson
|
|
|
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
|
|
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
|
|
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
* Authors and maintainers:
|
|
|
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
|
|
|
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
|
|
|
- * libpng versions 0.97, January 1998, through 1.6.26, October 20, 2016:
|
|
|
+ * libpng versions 0.97, January 1998, through 1.6.28, January 5, 2017:
|
|
|
* Glenn Randers-Pehrson.
|
|
|
* See also "Contributing Authors", below.
|
|
|
*/
|
|
@@ -25,12 +25,8 @@
|
|
|
*
|
|
|
* This code is released under the libpng license.
|
|
|
*
|
|
|
- * Some files in the "contrib" directory and some configure-generated
|
|
|
- * files that are distributed with libpng have other copyright owners and
|
|
|
- * are released under other open source licenses.
|
|
|
- *
|
|
|
- * libpng versions 1.0.7, July 1, 2000 through 1.6.26, October 20, 2016 are
|
|
|
- * Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson, are
|
|
|
+ * libpng versions 1.0.7, July 1, 2000 through 1.6.28, January 5, 2017 are
|
|
|
+ * Copyright (c) 2000-2002, 2004, 2006-2017 Glenn Randers-Pehrson, are
|
|
|
* derived from libpng-1.0.6, and are distributed according to the same
|
|
|
* disclaimer and license as libpng-1.0.6 with the following individuals
|
|
|
* added to the list of Contributing Authors:
|
|
@@ -52,10 +48,10 @@
|
|
|
* risk of satisfactory quality, performance, accuracy, and effort is with
|
|
|
* the user.
|
|
|
*
|
|
|
- * Some files in the "contrib" directory have other copyright owners and
|
|
|
+ * Some files in the "contrib" directory and some configure-generated
|
|
|
+ * files that are distributed with libpng have other copyright owners and
|
|
|
* are released under other open source licenses.
|
|
|
*
|
|
|
- *
|
|
|
* libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
|
|
|
* Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from
|
|
|
* libpng-0.96, and are distributed according to the same disclaimer and
|
|
@@ -66,9 +62,6 @@
|
|
|
* Glenn Randers-Pehrson
|
|
|
* Willem van Schaik
|
|
|
*
|
|
|
- * Some files in the "scripts" directory have different copyright owners
|
|
|
- * but are also released under this license.
|
|
|
- *
|
|
|
* libpng versions 0.89, June 1996, through 0.96, May 1997, are
|
|
|
* Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88,
|
|
|
* and are distributed according to the same disclaimer and license as
|
|
@@ -214,11 +207,11 @@
|
|
|
* ...
|
|
|
* 1.0.19 10 10019 10.so.0.19[.0]
|
|
|
* ...
|
|
|
- * 1.2.56 13 10256 12.so.0.56[.0]
|
|
|
+ * 1.2.57 13 10257 12.so.0.57[.0]
|
|
|
* ...
|
|
|
- * 1.5.27 15 10527 15.so.15.27[.0]
|
|
|
+ * 1.5.28 15 10527 15.so.15.28[.0]
|
|
|
* ...
|
|
|
- * 1.6.26 16 10626 16.so.16.26[.0]
|
|
|
+ * 1.6.28 16 10628 16.so.16.28[.0]
|
|
|
*
|
|
|
* Henceforth the source version will match the shared-library major
|
|
|
* and minor numbers; the shared-library major version number will be
|
|
@@ -246,13 +239,13 @@
|
|
|
* Y2K compliance in libpng:
|
|
|
* =========================
|
|
|
*
|
|
|
- * October 20, 2016
|
|
|
+ * January 5, 2017
|
|
|
*
|
|
|
* Since the PNG Development group is an ad-hoc body, we can't make
|
|
|
* an official declaration.
|
|
|
*
|
|
|
* This is your unofficial assurance that libpng from version 0.71 and
|
|
|
- * upward through 1.6.26 are Y2K compliant. It is my belief that
|
|
|
+ * upward through 1.6.28 are Y2K compliant. It is my belief that
|
|
|
* earlier versions were also Y2K compliant.
|
|
|
*
|
|
|
* Libpng only has two year fields. One is a 2-byte unsigned integer
|
|
@@ -314,8 +307,8 @@
|
|
|
*/
|
|
|
|
|
|
/* Version information for png.h - this should match the version in png.c */
|
|
|
-#define PNG_LIBPNG_VER_STRING "1.6.26"
|
|
|
-#define PNG_HEADER_VERSION_STRING " libpng version 1.6.26 - October 20, 2016\n"
|
|
|
+#define PNG_LIBPNG_VER_STRING "1.6.28"
|
|
|
+#define PNG_HEADER_VERSION_STRING " libpng version 1.6.28 - January 5, 2017\n"
|
|
|
|
|
|
#define PNG_LIBPNG_VER_SONUM 16
|
|
|
#define PNG_LIBPNG_VER_DLLNUM 16
|
|
@@ -323,7 +316,7 @@
|
|
|
/* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
|
|
|
#define PNG_LIBPNG_VER_MAJOR 1
|
|
|
#define PNG_LIBPNG_VER_MINOR 6
|
|
|
-#define PNG_LIBPNG_VER_RELEASE 26
|
|
|
+#define PNG_LIBPNG_VER_RELEASE 28
|
|
|
|
|
|
/* This should match the numeric part of the final component of
|
|
|
* PNG_LIBPNG_VER_STRING, omitting any leading zero:
|
|
@@ -354,7 +347,7 @@
|
|
|
* version 1.0.0 was mis-numbered 100 instead of 10000). From
|
|
|
* version 1.0.1 it's xxyyzz, where x=major, y=minor, z=release
|
|
|
*/
|
|
|
-#define PNG_LIBPNG_VER 10626 /* 1.6.26 */
|
|
|
+#define PNG_LIBPNG_VER 10628 /* 1.6.28 */
|
|
|
|
|
|
/* Library configuration: these options cannot be changed after
|
|
|
* the library has been built.
|
|
@@ -464,7 +457,7 @@ extern "C" {
|
|
|
/* This triggers a compiler error in png.c, if png.c and png.h
|
|
|
* do not agree upon the version number.
|
|
|
*/
|
|
|
-typedef char* png_libpng_version_1_6_26;
|
|
|
+typedef char* png_libpng_version_1_6_28;
|
|
|
|
|
|
/* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
|
|
|
*
|
|
@@ -3230,7 +3223,8 @@ PNG_EXPORT(245, int, png_image_write_to_memory, (png_imagep image, void *memory,
|
|
|
#ifdef PNG_MIPS_MSA_API_SUPPORTED
|
|
|
# define PNG_MIPS_MSA 6 /* HARDWARE: MIPS Msa SIMD instructions supported */
|
|
|
#endif
|
|
|
-#define PNG_OPTION_NEXT 8 /* Next option - numbers must be even */
|
|
|
+#define PNG_IGNORE_ADLER32 8
|
|
|
+#define PNG_OPTION_NEXT 10 /* Next option - numbers must be even */
|
|
|
|
|
|
/* Return values: NOTE: there are four values and 'off' is *not* zero */
|
|
|
#define PNG_OPTION_UNSET 0 /* Unset - defaults to off */
|