|
1 |
| - |
2 | 1 | /* png.h - header file for PNG reference library
|
3 | 2 | *
|
4 |
| - * libpng version 1.6.44 |
| 3 | + * libpng version 1.6.45 |
5 | 4 | *
|
6 |
| - * Copyright (c) 2018-2024 Cosmin Truta |
| 5 | + * Copyright (c) 2018-2025 Cosmin Truta |
7 | 6 | * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
|
8 | 7 | * Copyright (c) 1996-1997 Andreas Dilger
|
9 | 8 | * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
|
15 | 14 | * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
|
16 | 15 | * libpng versions 0.97, January 1998, through 1.6.35, July 2018:
|
17 | 16 | * 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: |
19 | 18 | * Cosmin Truta
|
20 | 19 | * See also "Contributing Authors", below.
|
21 | 20 | */
|
|
27 | 26 | * PNG Reference Library License version 2
|
28 | 27 | * ---------------------------------------
|
29 | 28 | *
|
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. |
32 | 31 | * * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
|
33 | 32 | * * Copyright (c) 1996-1997 Andreas Dilger.
|
34 | 33 | * * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
|
239 | 238 | * ...
|
240 | 239 | * 1.5.30 15 10530 15.so.15.30[.0]
|
241 | 240 | * ...
|
242 |
| - * 1.6.44 16 10644 16.so.16.44[.0] |
| 241 | + * 1.6.45 16 10645 16.so.16.45[.0] |
243 | 242 | *
|
244 | 243 | * Henceforth the source version will match the shared-library major and
|
245 | 244 | * minor numbers; the shared-library major version number will be used for
|
|
275 | 274 | */
|
276 | 275 |
|
277 | 276 | /* 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" |
279 | 278 | #define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
|
280 | 279 |
|
281 | 280 | /* The versions of shared library builds should stay in sync, going forward */
|
|
286 | 285 | /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
|
287 | 286 | #define PNG_LIBPNG_VER_MAJOR 1
|
288 | 287 | #define PNG_LIBPNG_VER_MINOR 6
|
289 |
| -#define PNG_LIBPNG_VER_RELEASE 44 |
| 288 | +#define PNG_LIBPNG_VER_RELEASE 45 |
290 | 289 |
|
291 | 290 | /* This should be zero for a public release, or non-zero for a
|
292 | 291 | * development version.
|
|
317 | 316 | * From version 1.0.1 it is:
|
318 | 317 | * XXYYZZ, where XX=major, YY=minor, ZZ=release
|
319 | 318 | */
|
320 |
| -#define PNG_LIBPNG_VER 10644 /* 1.6.44 */ |
| 319 | +#define PNG_LIBPNG_VER 10645 /* 1.6.45 */ |
321 | 320 |
|
322 | 321 | /* Library configuration: these options cannot be changed after
|
323 | 322 | * the library has been built.
|
@@ -427,7 +426,7 @@ extern "C" {
|
427 | 426 | /* This triggers a compiler error in png.c, if png.c and png.h
|
428 | 427 | * do not agree upon the version number.
|
429 | 428 | */
|
430 |
| -typedef char* png_libpng_version_1_6_44; |
| 429 | +typedef char* png_libpng_version_1_6_45; |
431 | 430 |
|
432 | 431 | /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
|
433 | 432 | *
|
@@ -745,6 +744,7 @@ typedef png_unknown_chunk * * png_unknown_chunkpp;
|
745 | 744 | #define PNG_INFO_sCAL 0x4000U /* ESR, 1.0.6 */
|
746 | 745 | #define PNG_INFO_IDAT 0x8000U /* ESR, 1.0.6 */
|
747 | 746 | #define PNG_INFO_eXIf 0x10000U /* GR-P, 1.6.31 */
|
| 747 | +#define PNG_INFO_cICP 0x20000U |
748 | 748 |
|
749 | 749 | /* This is used for the transformation routines, as some of them
|
750 | 750 | * 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,
|
1974 | 1974 | png_fixed_point int_blue_Z))
|
1975 | 1975 | #endif
|
1976 | 1976 |
|
| 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 | + |
1977 | 1988 | #ifdef PNG_eXIf_SUPPORTED
|
1978 | 1989 | PNG_EXPORT(246, png_uint_32, png_get_eXIf, (png_const_structrp png_ptr,
|
1979 | 1990 | png_inforp info_ptr, png_bytep *exif));
|
@@ -3238,7 +3249,7 @@ PNG_EXPORT(244, int, png_set_option, (png_structrp png_ptr, int option,
|
3238 | 3249 | * one to use is one more than this.)
|
3239 | 3250 | */
|
3240 | 3251 | #ifdef PNG_EXPORT_LAST_ORDINAL
|
3241 |
| - PNG_EXPORT_LAST_ORDINAL(249); |
| 3252 | + PNG_EXPORT_LAST_ORDINAL(251); |
3242 | 3253 | #endif
|
3243 | 3254 |
|
3244 | 3255 | #ifdef __cplusplus
|
|
0 commit comments