@img/sharp-libvips-dev 1.1.0-rc2 → 1.1.0-rc4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/include/aom/aom_codec.h +18 -1
  2. package/include/aom/aom_encoder.h +2 -0
  3. package/include/aom/aom_image.h +3 -1
  4. package/include/aom/aomcx.h +52 -12
  5. package/include/cairo/cairo-version.h +1 -1
  6. package/include/expat.h +4 -2
  7. package/include/expat_config.h +3 -3
  8. package/include/ffi.h +1 -1
  9. package/include/fontconfig/fontconfig.h +22 -2
  10. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +1 -1
  11. package/include/gio-unix-2.0/gio/gunixmounts.h +95 -23
  12. package/include/glib-2.0/gio/gdbusconnection.h +65 -5
  13. package/include/glib-2.0/gio/gdebugcontroller.h +1 -1
  14. package/include/glib-2.0/gio/gfile.h +4 -0
  15. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  16. package/include/glib-2.0/gio/gioenums.h +14 -3
  17. package/include/glib-2.0/gio/gioenumtypes.h +3 -3
  18. package/include/glib-2.0/gio/giotypes.h +4 -4
  19. package/include/glib-2.0/gio/gmemorymonitor.h +1 -1
  20. package/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
  21. package/include/glib-2.0/gio/gpowerprofilemonitor.h +1 -1
  22. package/include/glib-2.0/gio/gproxy.h +1 -1
  23. package/include/glib-2.0/gio/gproxyresolver.h +1 -1
  24. package/include/glib-2.0/gio/gresource.h +6 -0
  25. package/include/glib-2.0/gio/gtlsbackend.h +1 -1
  26. package/include/glib-2.0/gio/gvfs.h +3 -3
  27. package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
  28. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  29. package/include/glib-2.0/girepository/gicallableinfo.h +12 -0
  30. package/include/glib-2.0/girepository/gitypes.h +1 -0
  31. package/include/glib-2.0/glib/garray.h +1 -1
  32. package/include/glib-2.0/glib/gerror.h +1 -1
  33. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  34. package/include/glib-2.0/glib/gmacros.h +3 -3
  35. package/include/glib-2.0/glib/gmain.h +79 -1
  36. package/include/glib-2.0/glib/gmem.h +3 -0
  37. package/include/glib-2.0/glib/goption.h +58 -36
  38. package/include/glib-2.0/glib/gqueue.h +1 -1
  39. package/include/glib-2.0/glib/grefstring.h +4 -0
  40. package/include/glib-2.0/glib/gstdio.h +65 -0
  41. package/include/glib-2.0/glib/gstrfuncs.h +4 -0
  42. package/include/glib-2.0/glib/gtestutils.h +65 -33
  43. package/include/glib-2.0/glib/gthread.h +2 -0
  44. package/include/glib-2.0/glib/gtypes.h +1 -1
  45. package/include/glib-2.0/glib/gunicode.h +21 -5
  46. package/include/glib-2.0/glib/gvariant.h +50 -13
  47. package/include/glib-2.0/glib/gvarianttype.h +62 -46
  48. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  49. package/include/glib-2.0/glib-unix.h +21 -0
  50. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  51. package/include/glib-2.0/gobject/glib-enumtypes.h +1 -1
  52. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  53. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +1 -1
  54. package/include/glib-2.0/gobject/gparam.h +4 -2
  55. package/include/glib-2.0/gobject/gsignal.h +22 -7
  56. package/include/glib-2.0/gobject/gtype.h +10 -4
  57. package/include/harfbuzz/hb-draw.h +1 -1
  58. package/include/harfbuzz/hb-face.h +15 -2
  59. package/include/harfbuzz/hb-ft.h +11 -1
  60. package/include/harfbuzz/hb-ot-shape.h +6 -0
  61. package/include/harfbuzz/hb-paint.h +1 -1
  62. package/include/harfbuzz/hb-shape.h +2 -0
  63. package/include/harfbuzz/hb-subset-serialize.h +83 -0
  64. package/include/harfbuzz/hb-subset.h +12 -0
  65. package/include/harfbuzz/hb-version.h +3 -3
  66. package/include/lcms2.h +7 -5
  67. package/include/lcms2_plugin.h +1 -1
  68. package/include/libexif/exif-byte-order.h +2 -0
  69. package/include/libexif/exif-content.h +2 -0
  70. package/include/libexif/exif-data-type.h +2 -0
  71. package/include/libexif/exif-data.h +3 -2
  72. package/include/libexif/exif-entry.h +2 -0
  73. package/include/libexif/exif-format.h +2 -0
  74. package/include/libexif/exif-ifd.h +2 -0
  75. package/include/libexif/exif-loader.h +2 -0
  76. package/include/libexif/exif-log.h +2 -0
  77. package/include/libexif/exif-mem.h +2 -0
  78. package/include/libexif/exif-mnote-data.h +2 -0
  79. package/include/libexif/exif-tag.h +2 -0
  80. package/include/libexif/exif-utils.h +2 -0
  81. package/include/libheif/heif.h +328 -26
  82. package/include/libheif/heif_cxx.h +18 -12
  83. package/include/libheif/heif_items.h +2 -2
  84. package/include/libheif/heif_properties.h +24 -4
  85. package/include/libheif/heif_version.h +2 -2
  86. package/include/libpng16/png.h +120 -12
  87. package/include/libpng16/pngconf.h +2 -3
  88. package/include/libpng16/pnglibconf.h +11 -2
  89. package/include/librsvg-2.0/librsvg/rsvg-features.h +1 -1
  90. package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +1 -1
  91. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  92. package/include/librsvg-2.0/librsvg/rsvg.h +1 -1
  93. package/include/libxml2/libxml/xmlversion.h +4 -4
  94. package/include/pango-1.0/pango/pango-features.h +3 -3
  95. package/include/pango-1.0/pango/pango-font.h +31 -2
  96. package/include/pango-1.0/pango/pango-fontmap.h +4 -0
  97. package/include/pango-1.0/pango/pango-layout.h +10 -1
  98. package/include/pango-1.0/pango/pango-version-macros.h +52 -0
  99. package/include/pango-1.0/pango/pangofc-fontmap.h +6 -0
  100. package/include/pixman-1/pixman-version.h +3 -3
  101. package/include/png.h +120 -12
  102. package/include/pngconf.h +2 -3
  103. package/include/pnglibconf.h +11 -2
  104. package/include/vips/colour.h +2 -0
  105. package/include/vips/version.h +4 -4
  106. package/include/webp/encode.h +5 -4
  107. package/include/webp/sharpyuv/sharpyuv.h +14 -5
  108. package/include/webp/sharpyuv/sharpyuv_csp.h +5 -0
  109. package/include/webp/types.h +2 -2
  110. package/include/zlib.h +4 -4
  111. package/package.json +1 -1
  112. package/versions.json +19 -19
@@ -202,6 +202,8 @@ void pango_fc_font_map_substitute_changed (PangoFcFontMap *fontmap);
202
202
  * fontconfig that have that.
203
203
  *
204
204
  * Since: 1.24
205
+ *
206
+ * Deprecated: 1.56: Use FC_PRGNAME
205
207
  */
206
208
  #define PANGO_FC_PRGNAME "prgname"
207
209
 
@@ -220,6 +222,8 @@ void pango_fc_font_map_substitute_changed (PangoFcFontMap *fontmap);
220
222
  * fontconfig that have that.
221
223
  *
222
224
  * Since: 1.34
225
+ *
226
+ * Deprecated: 1.56: Use FC_FONT_FEATURES
223
227
  */
224
228
  #define PANGO_FC_FONT_FEATURES "fontfeatures"
225
229
 
@@ -236,6 +240,8 @@ void pango_fc_font_map_substitute_changed (PangoFcFontMap *fontmap);
236
240
  *
237
241
  * This is equivalent to FC_FONT_VARIATIONS in versions of
238
242
  * fontconfig that have that.
243
+ *
244
+ * Deprecated: 1.56: Use FC_FONT_VARIATIONS
239
245
  */
240
246
  #define PANGO_FC_FONT_VARIATIONS "fontvariations"
241
247
 
@@ -32,10 +32,10 @@
32
32
  #endif
33
33
 
34
34
  #define PIXMAN_VERSION_MAJOR 0
35
- #define PIXMAN_VERSION_MINOR 43
36
- #define PIXMAN_VERSION_MICRO 4
35
+ #define PIXMAN_VERSION_MINOR 44
36
+ #define PIXMAN_VERSION_MICRO 2
37
37
 
38
- #define PIXMAN_VERSION_STRING "0.43.4"
38
+ #define PIXMAN_VERSION_STRING "0.44.2"
39
39
 
40
40
  #define PIXMAN_VERSION_ENCODE(major, minor, micro) ( \
41
41
  ((major) * 10000) \
package/include/png.h CHANGED
@@ -1,9 +1,8 @@
1
-
2
1
  /* png.h - header file for PNG reference library
3
2
  *
4
- * libpng version 1.6.44
3
+ * libpng version 1.6.47
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,7 +14,7 @@
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.47, February 2025:
19
18
  * Cosmin Truta
20
19
  * See also "Contributing Authors", below.
21
20
  */
@@ -27,8 +26,8 @@
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,7 +238,7 @@
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.47 16 10647 16.so.16.47[.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,7 +274,7 @@
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.47"
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,7 +285,7 @@
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 47
290
289
 
291
290
  /* This should be zero for a public release, or non-zero for a
292
291
  * development version.
@@ -317,7 +316,7 @@
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 10647 /* 1.6.47 */
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_47;
431
430
 
432
431
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
433
432
  *
@@ -745,6 +744,21 @@ 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 /* PNGv3: 1.6.45 */
748
+ #define PNG_INFO_cLLI 0x40000U /* PNGv3: 1.6.45 */
749
+ #define PNG_INFO_mDCV 0x80000U /* PNGv3: 1.6.45 */
750
+ /* APNG: these chunks are stored as unknown, these flags are never set
751
+ * however they are provided as a convenience for implementors of APNG and
752
+ * avoids any merge conflicts.
753
+ *
754
+ * Private chunks: these chunk names violate the chunk name recommendations
755
+ * because the chunk definitions have no signature and because the private
756
+ * chunks with these names have been reserved. Private definitions should
757
+ * avoid them.
758
+ */
759
+ #define PNG_INFO_acTL 0x100000U /* PNGv3: 1.6.45: unknown */
760
+ #define PNG_INFO_fcTL 0x200000U /* PNGv3: 1.6.45: unknown */
761
+ #define PNG_INFO_fdAT 0x400000U /* PNGv3: 1.6.45: unknown */
748
762
 
749
763
  /* This is used for the transformation routines, as some of them
750
764
  * change these values for the row. It also should enable using
@@ -1974,6 +1988,46 @@ PNG_FIXED_EXPORT(233, void, png_set_cHRM_XYZ_fixed, (png_const_structrp png_ptr,
1974
1988
  png_fixed_point int_blue_Z))
1975
1989
  #endif
1976
1990
 
1991
+ #ifdef PNG_cICP_SUPPORTED
1992
+ PNG_EXPORT(250, png_uint_32, png_get_cICP, (png_const_structrp png_ptr,
1993
+ png_const_inforp info_ptr, png_bytep colour_primaries,
1994
+ png_bytep transfer_function, png_bytep matrix_coefficients,
1995
+ png_bytep video_full_range_flag));
1996
+ #endif
1997
+
1998
+ #ifdef PNG_cICP_SUPPORTED
1999
+ PNG_EXPORT(251, void, png_set_cICP, (png_const_structrp png_ptr,
2000
+ png_inforp info_ptr, png_byte colour_primaries,
2001
+ png_byte transfer_function, png_byte matrix_coefficients,
2002
+ png_byte video_full_range_flag));
2003
+ #endif
2004
+
2005
+ #ifdef PNG_cLLI_SUPPORTED
2006
+ PNG_FP_EXPORT(252, png_uint_32, png_get_cLLI, (png_const_structrp png_ptr,
2007
+ png_const_inforp info_ptr, double *maximum_content_light_level,
2008
+ double *maximum_frame_average_light_level))
2009
+ PNG_FIXED_EXPORT(253, png_uint_32, png_get_cLLI_fixed,
2010
+ (png_const_structrp png_ptr, png_const_inforp info_ptr,
2011
+ /* The values below are in cd/m2 (nits) and are scaled by 10,000; not
2012
+ * 100,000 as in the case of png_fixed_point.
2013
+ */
2014
+ png_uint_32p maximum_content_light_level_scaled_by_10000,
2015
+ png_uint_32p maximum_frame_average_light_level_scaled_by_10000))
2016
+ #endif
2017
+
2018
+ #ifdef PNG_cLLI_SUPPORTED
2019
+ PNG_FP_EXPORT(254, void, png_set_cLLI, (png_const_structrp png_ptr,
2020
+ png_inforp info_ptr, double maximum_content_light_level,
2021
+ double maximum_frame_average_light_level))
2022
+ PNG_FIXED_EXPORT(255, void, png_set_cLLI_fixed, (png_const_structrp png_ptr,
2023
+ png_inforp info_ptr,
2024
+ /* The values below are in cd/m2 (nits) and are scaled by 10,000; not
2025
+ * 100,000 as in the case of png_fixed_point.
2026
+ */
2027
+ png_uint_32 maximum_content_light_level_scaled_by_10000,
2028
+ png_uint_32 maximum_frame_average_light_level_scaled_by_10000))
2029
+ #endif
2030
+
1977
2031
  #ifdef PNG_eXIf_SUPPORTED
1978
2032
  PNG_EXPORT(246, png_uint_32, png_get_eXIf, (png_const_structrp png_ptr,
1979
2033
  png_inforp info_ptr, png_bytep *exif));
@@ -2018,6 +2072,60 @@ PNG_EXPORT(144, void, png_set_IHDR, (png_const_structrp png_ptr,
2018
2072
  int color_type, int interlace_method, int compression_method,
2019
2073
  int filter_method));
2020
2074
 
2075
+ #ifdef PNG_mDCV_SUPPORTED
2076
+ PNG_FP_EXPORT(256, png_uint_32, png_get_mDCV, (png_const_structrp png_ptr,
2077
+ png_const_inforp info_ptr,
2078
+ /* The chromaticities of the mastering display. As cHRM, but independent of
2079
+ * the encoding endpoints in cHRM, or cICP, or iCCP. These values will
2080
+ * always be in the range 0 to 1.3107.
2081
+ */
2082
+ double *white_x, double *white_y, double *red_x, double *red_y,
2083
+ double *green_x, double *green_y, double *blue_x, double *blue_y,
2084
+ /* Mastering display luminance in cd/m2 (nits). */
2085
+ double *mastering_display_maximum_luminance,
2086
+ double *mastering_display_minimum_luminance))
2087
+
2088
+ PNG_FIXED_EXPORT(257, png_uint_32, png_get_mDCV_fixed,
2089
+ (png_const_structrp png_ptr, png_const_inforp info_ptr,
2090
+ png_fixed_point *int_white_x, png_fixed_point *int_white_y,
2091
+ png_fixed_point *int_red_x, png_fixed_point *int_red_y,
2092
+ png_fixed_point *int_green_x, png_fixed_point *int_green_y,
2093
+ png_fixed_point *int_blue_x, png_fixed_point *int_blue_y,
2094
+ /* Mastering display luminance in cd/m2 (nits) multiplied (scaled) by
2095
+ * 10,000.
2096
+ */
2097
+ png_uint_32p mastering_display_maximum_luminance_scaled_by_10000,
2098
+ png_uint_32p mastering_display_minimum_luminance_scaled_by_10000))
2099
+ #endif
2100
+
2101
+ #ifdef PNG_mDCV_SUPPORTED
2102
+ PNG_FP_EXPORT(258, void, png_set_mDCV, (png_const_structrp png_ptr,
2103
+ png_inforp info_ptr,
2104
+ /* The chromaticities of the mastering display. As cHRM, but independent of
2105
+ * the encoding endpoints in cHRM, or cICP, or iCCP.
2106
+ */
2107
+ double white_x, double white_y, double red_x, double red_y, double green_x,
2108
+ double green_y, double blue_x, double blue_y,
2109
+ /* Mastering display luminance in cd/m2 (nits). */
2110
+ double mastering_display_maximum_luminance,
2111
+ double mastering_display_minimum_luminance))
2112
+
2113
+ PNG_FIXED_EXPORT(259, void, png_set_mDCV_fixed, (png_const_structrp png_ptr,
2114
+ png_inforp info_ptr,
2115
+ /* The admissible range of these values is not the full range of a PNG
2116
+ * fixed point value. Negative values cannot be encoded and the maximum
2117
+ * value is about 1.3 */
2118
+ png_fixed_point int_white_x, png_fixed_point int_white_y,
2119
+ png_fixed_point int_red_x, png_fixed_point int_red_y,
2120
+ png_fixed_point int_green_x, png_fixed_point int_green_y,
2121
+ png_fixed_point int_blue_x, png_fixed_point int_blue_y,
2122
+ /* These are PNG unsigned 4 byte values: 31-bit unsigned values. The MSB
2123
+ * must be zero.
2124
+ */
2125
+ png_uint_32 mastering_display_maximum_luminance_scaled_by_10000,
2126
+ png_uint_32 mastering_display_minimum_luminance_scaled_by_10000))
2127
+ #endif
2128
+
2021
2129
  #ifdef PNG_oFFs_SUPPORTED
2022
2130
  PNG_EXPORT(145, png_uint_32, png_get_oFFs, (png_const_structrp png_ptr,
2023
2131
  png_const_inforp info_ptr, png_int_32 *offset_x, png_int_32 *offset_y,
@@ -3238,7 +3346,7 @@ PNG_EXPORT(244, int, png_set_option, (png_structrp png_ptr, int option,
3238
3346
  * one to use is one more than this.)
3239
3347
  */
3240
3348
  #ifdef PNG_EXPORT_LAST_ORDINAL
3241
- PNG_EXPORT_LAST_ORDINAL(249);
3349
+ PNG_EXPORT_LAST_ORDINAL(259);
3242
3350
  #endif
3243
3351
 
3244
3352
  #ifdef __cplusplus
package/include/pngconf.h CHANGED
@@ -1,9 +1,8 @@
1
-
2
1
  /* pngconf.h - machine-configurable file for libpng
3
2
  *
4
- * libpng version 1.6.44
3
+ * libpng version 1.6.47
5
4
  *
6
- * Copyright (c) 2018-2024 Cosmin Truta
5
+ * Copyright (c) 2018-2025 Cosmin Truta
7
6
  * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
8
7
  * Copyright (c) 1996-1997 Andreas Dilger
9
8
  * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -1,8 +1,8 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.44 */
3
+ /* libpng version 1.6.47 */
4
4
 
5
- /* Copyright (c) 2018-2024 Cosmin Truta */
5
+ /* Copyright (c) 2018-2025 Cosmin Truta */
6
6
  /* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
7
7
 
8
8
  /* This code is released under the libpng license. */
@@ -88,11 +88,14 @@
88
88
  #define PNG_READ_USER_TRANSFORM_SUPPORTED
89
89
  #define PNG_READ_bKGD_SUPPORTED
90
90
  #define PNG_READ_cHRM_SUPPORTED
91
+ #define PNG_READ_cICP_SUPPORTED
92
+ #define PNG_READ_cLLI_SUPPORTED
91
93
  #define PNG_READ_eXIf_SUPPORTED
92
94
  #define PNG_READ_gAMA_SUPPORTED
93
95
  #define PNG_READ_hIST_SUPPORTED
94
96
  #define PNG_READ_iCCP_SUPPORTED
95
97
  #define PNG_READ_iTXt_SUPPORTED
98
+ #define PNG_READ_mDCV_SUPPORTED
96
99
  #define PNG_READ_oFFs_SUPPORTED
97
100
  #define PNG_READ_pCAL_SUPPORTED
98
101
  #define PNG_READ_pHYs_SUPPORTED
@@ -158,11 +161,14 @@
158
161
  #define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
159
162
  #define PNG_WRITE_bKGD_SUPPORTED
160
163
  #define PNG_WRITE_cHRM_SUPPORTED
164
+ #define PNG_WRITE_cICP_SUPPORTED
165
+ #define PNG_WRITE_cLLI_SUPPORTED
161
166
  #define PNG_WRITE_eXIf_SUPPORTED
162
167
  #define PNG_WRITE_gAMA_SUPPORTED
163
168
  #define PNG_WRITE_hIST_SUPPORTED
164
169
  #define PNG_WRITE_iCCP_SUPPORTED
165
170
  #define PNG_WRITE_iTXt_SUPPORTED
171
+ #define PNG_WRITE_mDCV_SUPPORTED
166
172
  #define PNG_WRITE_oFFs_SUPPORTED
167
173
  #define PNG_WRITE_pCAL_SUPPORTED
168
174
  #define PNG_WRITE_pHYs_SUPPORTED
@@ -176,11 +182,14 @@
176
182
  #define PNG_WRITE_zTXt_SUPPORTED
177
183
  #define PNG_bKGD_SUPPORTED
178
184
  #define PNG_cHRM_SUPPORTED
185
+ #define PNG_cICP_SUPPORTED
186
+ #define PNG_cLLI_SUPPORTED
179
187
  #define PNG_eXIf_SUPPORTED
180
188
  #define PNG_gAMA_SUPPORTED
181
189
  #define PNG_hIST_SUPPORTED
182
190
  #define PNG_iCCP_SUPPORTED
183
191
  #define PNG_iTXt_SUPPORTED
192
+ #define PNG_mDCV_SUPPORTED
184
193
  #define PNG_oFFs_SUPPORTED
185
194
  #define PNG_pCAL_SUPPORTED
186
195
  #define PNG_pHYs_SUPPORTED
@@ -93,6 +93,8 @@ extern "C" {
93
93
  #define VIPS_D3250_Y0 (100.0)
94
94
  #define VIPS_D3250_Z0 (45.8501)
95
95
 
96
+ /* Note: constants align with those defined in lcms2.h.
97
+ */
96
98
  typedef enum {
97
99
  VIPS_INTENT_PERCEPTUAL = 0,
98
100
  VIPS_INTENT_RELATIVE,
@@ -4,16 +4,16 @@
4
4
  #ifndef VIPS_VERSION_H
5
5
  #define VIPS_VERSION_H
6
6
 
7
- #define VIPS_VERSION "8.16.0"
8
- #define VIPS_VERSION_STRING "8.16.0"
7
+ #define VIPS_VERSION "8.16.1"
8
+ #define VIPS_VERSION_STRING "8.16.1"
9
9
  #define VIPS_MAJOR_VERSION (8)
10
10
  #define VIPS_MINOR_VERSION (16)
11
- #define VIPS_MICRO_VERSION (0)
11
+ #define VIPS_MICRO_VERSION (1)
12
12
 
13
13
  /* The ABI version, as used for library versioning.
14
14
  */
15
15
  #define VIPS_LIBRARY_CURRENT (60)
16
- #define VIPS_LIBRARY_REVISION (0)
16
+ #define VIPS_LIBRARY_REVISION (1)
17
17
  #define VIPS_LIBRARY_AGE (18)
18
18
 
19
19
  #define VIPS_CONFIG "enable debug: false\nenable deprecated: false\nenable modules: false\nenable cplusplus: true\nenable RAD load/save: false\nenable Analyze7 load: false\nenable PPM load/save: false\nenable GIF load: true\nFFTs with fftw: false\nSIMD support with libhwy: true\nICC profile support with lcms2: true\ndeflate compression with zlib: true\ntext rendering with pangocairo: true\nfont file support with fontconfig: true\nEXIF metadata support with libexif: true\nJPEG load/save with libjpeg: true\nJXL load/save with libjxl: false (dynamic module: false)\nJPEG2000 load/save with OpenJPEG: false\nPNG load/save with spng: true\nimage quantisation with imagequant: true\nTIFF load/save with libtiff-4: true\nimage pyramid save with libarchive: true\nHEIC/AVIF load/save with libheif: true (dynamic module: false)\nWebP load/save with libwebp: true\nPDF load with PDFium or Poppler: false (dynamic module: false)\nSVG load with librsvg-2.0: true\nEXR load with OpenEXR: false\nWSI load with OpenSlide: false (dynamic module: false)\nMatlab load with Matio: false\nNIfTI load/save with libnifti: false\nFITS load/save with cfitsio: false\nGIF save with cgif: true\nMagick load/save with MagickCore: false (dynamic module: false)"
@@ -20,7 +20,7 @@
20
20
  extern "C" {
21
21
  #endif
22
22
 
23
- #define WEBP_ENCODER_ABI_VERSION 0x020f // MAJOR(8b) + MINOR(8b)
23
+ #define WEBP_ENCODER_ABI_VERSION 0x0210 // MAJOR(8b) + MINOR(8b)
24
24
 
25
25
  // Note: forward declaring enumerations is not allowed in (strict) C and C++,
26
26
  // the types are left here for reference.
@@ -145,7 +145,7 @@ struct WebPConfig {
145
145
  // RGB information for better compression. The default
146
146
  // value is 0.
147
147
 
148
- int use_delta_palette; // reserved for future lossless feature
148
+ int use_delta_palette; // reserved
149
149
  int use_sharp_yuv; // if needed, use sharp (and slow) RGB->YUV conversion
150
150
 
151
151
  int qmin; // minimum permissible quality factor
@@ -224,14 +224,15 @@ struct WebPAuxStats {
224
224
  uint32_t lossless_features; // bit0:predictor bit1:cross-color transform
225
225
  // bit2:subtract-green bit3:color indexing
226
226
  int histogram_bits; // number of precision bits of histogram
227
- int transform_bits; // precision bits for transform
227
+ int transform_bits; // precision bits for predictor transform
228
228
  int cache_bits; // number of bits for color cache lookup
229
229
  int palette_size; // number of color in palette, if used
230
230
  int lossless_size; // final lossless size
231
231
  int lossless_hdr_size; // lossless header (transform, huffman etc) size
232
232
  int lossless_data_size; // lossless image data size
233
+ int cross_color_transform_bits; // precision bits for cross-color transform
233
234
 
234
- uint32_t pad[2]; // padding for later use
235
+ uint32_t pad[1]; // padding for later use
235
236
  };
236
237
 
237
238
  // Signature for output function. Should return true if writing was successful.
@@ -52,7 +52,7 @@ extern "C" {
52
52
  // SharpYUV API version following the convention from semver.org
53
53
  #define SHARPYUV_VERSION_MAJOR 0
54
54
  #define SHARPYUV_VERSION_MINOR 4
55
- #define SHARPYUV_VERSION_PATCH 0
55
+ #define SHARPYUV_VERSION_PATCH 1
56
56
  // Version as a uint32_t. The major number is the high 8 bits.
57
57
  // The minor number is the middle 8 bits. The patch number is the low 16 bits.
58
58
  #define SHARPYUV_MAKE_VERSION(MAJOR, MINOR, PATCH) \
@@ -66,10 +66,17 @@ extern "C" {
66
66
  SHARPYUV_EXTERN int SharpYuvGetVersion(void);
67
67
 
68
68
  // RGB to YUV conversion matrix, in 16 bit fixed point.
69
- // y = rgb_to_y[0] * r + rgb_to_y[1] * g + rgb_to_y[2] * b + rgb_to_y[3]
70
- // u = rgb_to_u[0] * r + rgb_to_u[1] * g + rgb_to_u[2] * b + rgb_to_u[3]
71
- // v = rgb_to_v[0] * r + rgb_to_v[1] * g + rgb_to_v[2] * b + rgb_to_v[3]
72
- // Then y, u and v values are divided by 1<<16 and rounded.
69
+ // y_ = rgb_to_y[0] * r + rgb_to_y[1] * g + rgb_to_y[2] * b + rgb_to_y[3]
70
+ // u_ = rgb_to_u[0] * r + rgb_to_u[1] * g + rgb_to_u[2] * b + rgb_to_u[3]
71
+ // v_ = rgb_to_v[0] * r + rgb_to_v[1] * g + rgb_to_v[2] * b + rgb_to_v[3]
72
+ // Then the values are divided by 1<<16 and rounded.
73
+ // y = (y_ + (1 << 15)) >> 16
74
+ // u = (u_ + (1 << 15)) >> 16
75
+ // v = (v_ + (1 << 15)) >> 16
76
+ //
77
+ // Typically, the offset values rgb_to_y[3], rgb_to_u[3] and rgb_to_v[3] depend
78
+ // on the input's bit depth, e.g., rgb_to_u[3] = 1 << (rgb_bit_depth - 1 + 16).
79
+ // See also sharpyuv_csp.h to get a predefined matrix or generate a matrix.
73
80
  typedef struct {
74
81
  int rgb_to_y[4];
75
82
  int rgb_to_u[4];
@@ -127,6 +134,8 @@ typedef enum SharpYuvTransferFunctionType {
127
134
  // adjacent pixels on the y, u and v channels. If yuv_bit_depth > 8, they
128
135
  // should be multiples of 2.
129
136
  // width, height: width and height of the image in pixels
137
+ // yuv_matrix: RGB to YUV conversion matrix. The matrix values typically
138
+ // depend on the input's rgb_bit_depth.
130
139
  // This function calls SharpYuvConvertWithOptions with a default transfer
131
140
  // function of kSharpYuvTransferFunctionSrgb.
132
141
  SHARPYUV_EXTERN int SharpYuvConvert(const void* r_ptr, const void* g_ptr,
@@ -41,10 +41,15 @@ SHARPYUV_EXTERN void SharpYuvComputeConversionMatrix(
41
41
 
42
42
  // Enums for precomputed conversion matrices.
43
43
  typedef enum {
44
+ // WebP's matrix, similar but not identical to kSharpYuvMatrixRec601Limited
44
45
  kSharpYuvMatrixWebp = 0,
46
+ // Kr=0.2990f Kb=0.1140f bit_depth=8 range=kSharpYuvRangeLimited
45
47
  kSharpYuvMatrixRec601Limited,
48
+ // Kr=0.2990f Kb=0.1140f bit_depth=8 range=kSharpYuvRangeFull
46
49
  kSharpYuvMatrixRec601Full,
50
+ // Kr=0.2126f Kb=0.0722f bit_depth=8 range=kSharpYuvRangeLimited
47
51
  kSharpYuvMatrixRec709Limited,
52
+ // Kr=0.2126f Kb=0.0722f bit_depth=8 range=kSharpYuvRangeFull
48
53
  kSharpYuvMatrixRec709Full,
49
54
  kSharpYuvMatrixNum
50
55
  } SharpYuvMatrixType;
@@ -38,11 +38,11 @@ typedef long long int int64_t;
38
38
 
39
39
  #ifndef WEBP_NODISCARD
40
40
  #if defined(WEBP_ENABLE_NODISCARD) && WEBP_ENABLE_NODISCARD
41
- #if (defined(__cplusplus) && __cplusplus >= 201700L) || \
41
+ #if (defined(__cplusplus) && __cplusplus >= 201703L) || \
42
42
  (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L)
43
43
  #define WEBP_NODISCARD [[nodiscard]]
44
44
  #else
45
- // gcc's __has_attribute does not work for enums.
45
+ // gcc's __attribute__((warn_unused_result)) does not work for enums.
46
46
  #if defined(__clang__) && defined(__has_attribute)
47
47
  #if __has_attribute(warn_unused_result)
48
48
  #define WEBP_NODISCARD __attribute__((warn_unused_result))
package/include/zlib.h CHANGED
@@ -49,11 +49,11 @@
49
49
  extern "C" {
50
50
  #endif
51
51
 
52
- #define ZLIBNG_VERSION "2.2.2"
53
- #define ZLIBNG_VERNUM 0x020202F0L /* MMNNRRSM: major minor revision status modified */
52
+ #define ZLIBNG_VERSION "2.2.4"
53
+ #define ZLIBNG_VERNUM 0x020204F0L /* MMNNRRSM: major minor revision status modified */
54
54
  #define ZLIBNG_VER_MAJOR 2
55
55
  #define ZLIBNG_VER_MINOR 2
56
- #define ZLIBNG_VER_REVISION 2
56
+ #define ZLIBNG_VER_REVISION 4
57
57
  #define ZLIBNG_VER_STATUS F /* 0=devel, 1-E=beta, F=Release (DEPRECATED) */
58
58
  #define ZLIBNG_VER_STATUSH 0xF /* Hex values: 0=devel, 1-E=beta, F=Release */
59
59
  #define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
@@ -890,7 +890,7 @@ Z_EXTERN int Z_EXPORT inflateSetDictionary(z_stream *strm, const unsigned char *
890
890
  deflateSetDictionary). For raw inflate, this function can be called at any
891
891
  time to set the dictionary. If the provided dictionary is smaller than the
892
892
  window and there is already data in the window, then the provided dictionary
893
- will amend what's there. The application must insure that the dictionary
893
+ will amend what's there. The application must ensure that the dictionary
894
894
  that was used for compression is provided.
895
895
 
896
896
  inflateSetDictionary returns Z_OK if success, Z_STREAM_ERROR if a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@img/sharp-libvips-dev",
3
- "version": "1.1.0-rc2",
3
+ "version": "1.1.0-rc4",
4
4
  "description": "Header files and C++ sources for libvips and dependencies required when compiling sharp from source",
5
5
  "author": "Lovell Fuller <npm@lovell.info>",
6
6
  "homepage": "https://sharp.pixelplumbing.com",
package/versions.json CHANGED
@@ -1,30 +1,30 @@
1
1
  {
2
- "aom": "3.10.0",
2
+ "aom": "3.12.0",
3
3
  "archive": "3.7.7",
4
- "cairo": "1.18.2",
5
- "cgif": "0.4.1",
6
- "exif": "0.6.24",
7
- "expat": "2.6.3",
8
- "ffi": "3.4.6",
9
- "fontconfig": "2.15.0",
4
+ "cairo": "1.18.4",
5
+ "cgif": "0.5.0",
6
+ "exif": "0.6.25",
7
+ "expat": "2.6.4",
8
+ "ffi": "3.4.7",
9
+ "fontconfig": "2.16.0",
10
10
  "freetype": "2.13.3",
11
11
  "fribidi": "1.0.16",
12
- "glib": "2.82.2",
13
- "harfbuzz": "10.0.1",
14
- "heif": "1.18.2",
12
+ "glib": "2.84.0",
13
+ "harfbuzz": "10.4.0",
14
+ "heif": "1.19.7",
15
15
  "highway": "1.2.0",
16
16
  "imagequant": "2.4.1",
17
- "lcms": "2.16",
17
+ "lcms": "2.17",
18
18
  "mozjpeg": "4.1.5",
19
- "pango": "1.54.0",
20
- "pixman": "0.43.4",
21
- "png": "1.6.44",
19
+ "pango": "1.56.2",
20
+ "pixman": "0.44.2",
21
+ "png": "1.6.47",
22
22
  "proxy-libintl": "0.4",
23
- "rsvg": "2.59.1",
23
+ "rsvg": "2.59.91",
24
24
  "spng": "0.7.4",
25
25
  "tiff": "4.7.0",
26
- "vips": "8.16.0-rc2",
27
- "webp": "1.4.0",
28
- "xml": "2.13.4",
29
- "zlib-ng": "2.2.2"
26
+ "vips": "8.16.1",
27
+ "webp": "1.5.0",
28
+ "xml": "2.13.6",
29
+ "zlib-ng": "2.2.4"
30
30
  }