Skip to content

Commit 2e3468e

Browse files
committed
Update libpng to version 1.6.45.
1 parent 481dbc9 commit 2e3468e

23 files changed

+441
-214
lines changed

ChangeLog

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dd.mm.yy hh:mm - smooth alpha 0.9.11
1010
- upgraded libcpuid to version 0.6.4
1111
- upgraded libxml2 to version 2.13.5
1212
- upgraded libcurl to version 8.11.0
13-
- upgraded libpng to version 1.6.44
13+
- upgraded libpng to version 1.6.45
1414
- upgraded libwebp to version 1.4.0
1515
- upgraded zlib to version 1.3.1
1616
- upgraded libjpeg to version 9f

include/support/libpng/png.h

+23-12
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
21
/* png.h - header file for PNG reference library
32
*
4-
* libpng version 1.6.44
3+
* libpng version 1.6.45
54
*
6-
* Copyright (c) 2018-2024 Cosmin Truta
5+
* Copyright (c) 2018-2025 Cosmin Truta
76
* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
87
* Copyright (c) 1996-1997 Andreas Dilger
98
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -15,7 +14,7 @@
1514
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
1615
* libpng versions 0.97, January 1998, through 1.6.35, July 2018:
1716
* Glenn Randers-Pehrson
18-
* libpng versions 1.6.36, December 2018, through 1.6.44, September 2024:
17+
* libpng versions 1.6.36, December 2018, through 1.6.45, January 2025:
1918
* Cosmin Truta
2019
* See also "Contributing Authors", below.
2120
*/
@@ -27,8 +26,8 @@
2726
* PNG Reference Library License version 2
2827
* ---------------------------------------
2928
*
30-
* * Copyright (c) 1995-2024 The PNG Reference Library Authors.
31-
* * Copyright (c) 2018-2024 Cosmin Truta.
29+
* * Copyright (c) 1995-2025 The PNG Reference Library Authors.
30+
* * Copyright (c) 2018-2025 Cosmin Truta.
3231
* * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
3332
* * Copyright (c) 1996-1997 Andreas Dilger.
3433
* * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -239,7 +238,7 @@
239238
* ...
240239
* 1.5.30 15 10530 15.so.15.30[.0]
241240
* ...
242-
* 1.6.44 16 10644 16.so.16.44[.0]
241+
* 1.6.45 16 10645 16.so.16.45[.0]
243242
*
244243
* Henceforth the source version will match the shared-library major and
245244
* minor numbers; the shared-library major version number will be used for
@@ -275,7 +274,7 @@
275274
*/
276275

277276
/* Version information for png.h - this should match the version in png.c */
278-
#define PNG_LIBPNG_VER_STRING "1.6.44"
277+
#define PNG_LIBPNG_VER_STRING "1.6.45"
279278
#define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
280279

281280
/* The versions of shared library builds should stay in sync, going forward */
@@ -286,7 +285,7 @@
286285
/* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
287286
#define PNG_LIBPNG_VER_MAJOR 1
288287
#define PNG_LIBPNG_VER_MINOR 6
289-
#define PNG_LIBPNG_VER_RELEASE 44
288+
#define PNG_LIBPNG_VER_RELEASE 45
290289

291290
/* This should be zero for a public release, or non-zero for a
292291
* development version.
@@ -317,7 +316,7 @@
317316
* From version 1.0.1 it is:
318317
* XXYYZZ, where XX=major, YY=minor, ZZ=release
319318
*/
320-
#define PNG_LIBPNG_VER 10644 /* 1.6.44 */
319+
#define PNG_LIBPNG_VER 10645 /* 1.6.45 */
321320

322321
/* Library configuration: these options cannot be changed after
323322
* the library has been built.
@@ -427,7 +426,7 @@ extern "C" {
427426
/* This triggers a compiler error in png.c, if png.c and png.h
428427
* do not agree upon the version number.
429428
*/
430-
typedef char* png_libpng_version_1_6_44;
429+
typedef char* png_libpng_version_1_6_45;
431430

432431
/* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
433432
*
@@ -745,6 +744,7 @@ typedef png_unknown_chunk * * png_unknown_chunkpp;
745744
#define PNG_INFO_sCAL 0x4000U /* ESR, 1.0.6 */
746745
#define PNG_INFO_IDAT 0x8000U /* ESR, 1.0.6 */
747746
#define PNG_INFO_eXIf 0x10000U /* GR-P, 1.6.31 */
747+
#define PNG_INFO_cICP 0x20000U
748748

749749
/* This is used for the transformation routines, as some of them
750750
* change these values for the row. It also should enable using
@@ -1974,6 +1974,17 @@ PNG_FIXED_EXPORT(233, void, png_set_cHRM_XYZ_fixed, (png_const_structrp png_ptr,
19741974
png_fixed_point int_blue_Z))
19751975
#endif
19761976

1977+
#ifdef PNG_cICP_SUPPORTED
1978+
PNG_EXPORT(250, png_uint_32, png_get_cICP, (png_const_structrp png_ptr,
1979+
png_inforp info_ptr, png_bytep colour_primaries,
1980+
png_bytep transfer_function, png_bytep matrix_coefficients,
1981+
png_bytep video_full_range_flag));
1982+
PNG_EXPORT(251, void, png_set_cICP, (png_const_structrp png_ptr,
1983+
png_inforp info_ptr, png_byte colour_primaries,
1984+
png_byte transfer_function, png_byte matrix_coefficients,
1985+
png_byte video_full_range_flag));
1986+
#endif
1987+
19771988
#ifdef PNG_eXIf_SUPPORTED
19781989
PNG_EXPORT(246, png_uint_32, png_get_eXIf, (png_const_structrp png_ptr,
19791990
png_inforp info_ptr, png_bytep *exif));
@@ -3238,7 +3249,7 @@ PNG_EXPORT(244, int, png_set_option, (png_structrp png_ptr, int option,
32383249
* one to use is one more than this.)
32393250
*/
32403251
#ifdef PNG_EXPORT_LAST_ORDINAL
3241-
PNG_EXPORT_LAST_ORDINAL(249);
3252+
PNG_EXPORT_LAST_ORDINAL(251);
32423253
#endif
32433254

32443255
#ifdef __cplusplus

include/support/libpng/pngconf.h

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
21
/* pngconf.h - machine-configurable file for libpng
32
*
4-
* libpng version 1.6.44
3+
* libpng version 1.6.45
54
*
6-
* Copyright (c) 2018-2024 Cosmin Truta
5+
* Copyright (c) 2018-2025 Cosmin Truta
76
* Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
87
* Copyright (c) 1996-1997 Andreas Dilger
98
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.

include/support/libpng/pnglibconf.h

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* pnglibconf.h - library build configuration */
22

3-
/* libpng version 1.6.44 */
3+
/* libpng version 1.6.45 */
44

5-
/* Copyright (c) 2018-2024 Cosmin Truta */
5+
/* Copyright (c) 2018-2025 Cosmin Truta */
66
/* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
77

88
/* This code is released under the libpng license. */
@@ -88,6 +88,7 @@
8888
#define PNG_READ_USER_TRANSFORM_SUPPORTED
8989
#define PNG_READ_bKGD_SUPPORTED
9090
#define PNG_READ_cHRM_SUPPORTED
91+
#define PNG_READ_cICP_SUPPORTED
9192
#define PNG_READ_eXIf_SUPPORTED
9293
#define PNG_READ_gAMA_SUPPORTED
9394
#define PNG_READ_hIST_SUPPORTED
@@ -158,6 +159,7 @@
158159
#define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
159160
#define PNG_WRITE_bKGD_SUPPORTED
160161
#define PNG_WRITE_cHRM_SUPPORTED
162+
#define PNG_WRITE_cICP_SUPPORTED
161163
#define PNG_WRITE_eXIf_SUPPORTED
162164
#define PNG_WRITE_gAMA_SUPPORTED
163165
#define PNG_WRITE_hIST_SUPPORTED
@@ -176,6 +178,7 @@
176178
#define PNG_WRITE_zTXt_SUPPORTED
177179
#define PNG_bKGD_SUPPORTED
178180
#define PNG_cHRM_SUPPORTED
181+
#define PNG_cICP_SUPPORTED
179182
#define PNG_eXIf_SUPPORTED
180183
#define PNG_gAMA_SUPPORTED
181184
#define PNG_hIST_SUPPORTED

0 commit comments

Comments
 (0)