|
@@ -1,6 +1,6 @@
|
|
|
/* png.h - header file for PNG reference library
|
|
|
*
|
|
|
- * libpng version 1.6.47
|
|
|
+ * libpng version 1.6.48
|
|
|
*
|
|
|
* Copyright (c) 2018-2025 Cosmin Truta
|
|
|
* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
|
|
@@ -14,7 +14,7 @@
|
|
|
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
|
|
|
* libpng versions 0.97, January 1998, through 1.6.35, July 2018:
|
|
|
* Glenn Randers-Pehrson
|
|
|
- * libpng versions 1.6.36, December 2018, through 1.6.47, February 2025:
|
|
|
+ * libpng versions 1.6.36, December 2018, through 1.6.48, April 2025:
|
|
|
* Cosmin Truta
|
|
|
* See also "Contributing Authors", below.
|
|
|
*/
|
|
@@ -238,7 +238,7 @@
|
|
|
* ...
|
|
|
* 1.5.30 15 10530 15.so.15.30[.0]
|
|
|
* ...
|
|
|
- * 1.6.47 16 10647 16.so.16.47[.0]
|
|
|
+ * 1.6.48 16 10648 16.so.16.48[.0]
|
|
|
*
|
|
|
* Henceforth the source version will match the shared-library major and
|
|
|
* minor numbers; the shared-library major version number will be used for
|
|
@@ -274,7 +274,7 @@
|
|
|
*/
|
|
|
|
|
|
/* Version information for png.h - this should match the version in png.c */
|
|
|
-#define PNG_LIBPNG_VER_STRING "1.6.47"
|
|
|
+#define PNG_LIBPNG_VER_STRING "1.6.48"
|
|
|
#define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
|
|
|
|
|
|
/* The versions of shared library builds should stay in sync, going forward */
|
|
@@ -285,7 +285,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 47
|
|
|
+#define PNG_LIBPNG_VER_RELEASE 48
|
|
|
|
|
|
/* This should be zero for a public release, or non-zero for a
|
|
|
* development version.
|
|
@@ -316,7 +316,7 @@
|
|
|
* From version 1.0.1 it is:
|
|
|
* XXYYZZ, where XX=major, YY=minor, ZZ=release
|
|
|
*/
|
|
|
-#define PNG_LIBPNG_VER 10647 /* 1.6.47 */
|
|
|
+#define PNG_LIBPNG_VER 10648 /* 1.6.48 */
|
|
|
|
|
|
/* Library configuration: these options cannot be changed after
|
|
|
* the library has been built.
|
|
@@ -426,7 +426,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_47;
|
|
|
+typedef char* png_libpng_version_1_6_48;
|
|
|
|
|
|
/* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
|
|
|
*
|
|
@@ -1570,7 +1570,7 @@ PNG_EXPORT(226, void, png_set_text_compression_method, (png_structrp png_ptr,
|
|
|
|
|
|
#ifdef PNG_STDIO_SUPPORTED
|
|
|
/* Initialize the input/output for the PNG file to the default functions. */
|
|
|
-PNG_EXPORT(74, void, png_init_io, (png_structrp png_ptr, png_FILE_p fp));
|
|
|
+PNG_EXPORT(74, void, png_init_io, (png_structrp png_ptr, FILE *fp));
|
|
|
#endif
|
|
|
|
|
|
/* Replace the (error and abort), and warning functions with user
|
|
@@ -3088,7 +3088,7 @@ PNG_EXPORT(234, int, png_image_begin_read_from_file, (png_imagep image,
|
|
|
*/
|
|
|
|
|
|
PNG_EXPORT(235, int, png_image_begin_read_from_stdio, (png_imagep image,
|
|
|
- FILE* file));
|
|
|
+ FILE *file));
|
|
|
/* The PNG header is read from the stdio FILE object. */
|
|
|
#endif /* STDIO */
|
|
|
|
|
@@ -3163,7 +3163,7 @@ PNG_EXPORT(239, int, png_image_write_to_file, (png_imagep image,
|
|
|
PNG_EXPORT(240, int, png_image_write_to_stdio, (png_imagep image, FILE *file,
|
|
|
int convert_to_8_bit, const void *buffer, png_int_32 row_stride,
|
|
|
const void *colormap));
|
|
|
- /* Write the image to the given (FILE*). */
|
|
|
+ /* Write the image to the given FILE object. */
|
|
|
#endif /* SIMPLIFIED_WRITE_STDIO */
|
|
|
|
|
|
/* With all write APIs if image is in one of the linear formats with 16-bit
|