@img/sharp-libvips-dev 1.1.0 → 1.2.0-rc.1

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 (120) hide show
  1. package/cplusplus/vips-operators.cpp +39 -0
  2. package/include/archive.h +53 -2
  3. package/include/archive_entry.h +56 -25
  4. package/include/ffi.h +20 -2
  5. package/include/fontconfig/fontconfig.h +1 -1
  6. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  7. package/include/glib-2.0/gio/gzlibcompressor.h +6 -0
  8. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  9. package/include/glib-2.0/girepository/gitypes.h +6 -0
  10. package/include/glib-2.0/glib/gbitlock.h +11 -0
  11. package/include/glib-2.0/glib/gdate.h +6 -0
  12. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  13. package/include/glib-2.0/glib/gmain.h +13 -10
  14. package/include/glib-2.0/glib/gmessages.h +4 -1
  15. package/include/glib-2.0/glib/gstring.h +2 -0
  16. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  17. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  18. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  19. package/include/harfbuzz/hb-common.h +1 -431
  20. package/include/harfbuzz/hb-deprecated.h +80 -2
  21. package/include/harfbuzz/hb-draw.h +2 -10
  22. package/include/harfbuzz/hb-face.h +1 -1
  23. package/include/harfbuzz/hb-font.h +55 -36
  24. package/include/harfbuzz/hb-paint.h +5 -3
  25. package/include/harfbuzz/hb-script-list.h +484 -0
  26. package/include/harfbuzz/hb-subset.h +22 -2
  27. package/include/harfbuzz/hb-version.h +3 -3
  28. package/include/libheif/heif.h +2 -0
  29. package/include/libheif/heif_version.h +2 -2
  30. package/include/libpng16/png.h +10 -10
  31. package/include/libpng16/pngconf.h +20 -27
  32. package/include/libpng16/pnglibconf.h +1 -1
  33. package/include/libxml2/libxml/HTMLparser.h +2 -2
  34. package/include/libxml2/libxml/parser.h +2 -0
  35. package/include/libxml2/libxml/xmlIO.h +2 -2
  36. package/include/libxml2/libxml/xmlerror.h +1 -1
  37. package/include/libxml2/libxml/xmlversion.h +4 -4
  38. package/include/pixman-1/pixman-version.h +2 -2
  39. package/include/pixman-1/pixman.h +200 -0
  40. package/include/png.h +10 -10
  41. package/include/pngconf.h +20 -27
  42. package/include/pnglibconf.h +1 -1
  43. package/include/vips/VImage8.h +62 -14
  44. package/include/vips/arithmetic.h +34 -34
  45. package/include/vips/basic.h +16 -0
  46. package/include/vips/buf.h +0 -5
  47. package/include/vips/colour.h +6 -7
  48. package/include/vips/connection.h +25 -37
  49. package/include/vips/enumtypes.h +11 -2
  50. package/include/vips/foreign.h +73 -43
  51. package/include/vips/format.h +7 -5
  52. package/include/vips/gate.h +0 -11
  53. package/include/vips/header.h +11 -11
  54. package/include/vips/image.h +8 -3
  55. package/include/vips/interpolate.h +0 -2
  56. package/include/vips/memory.h +4 -0
  57. package/include/vips/mosaicing.h +4 -0
  58. package/include/vips/object.h +14 -18
  59. package/include/vips/operation.h +0 -2
  60. package/include/vips/private.h +50 -2
  61. package/include/vips/region.h +1 -3
  62. package/include/vips/resample.h +2 -0
  63. package/include/vips/semaphore.h +8 -3
  64. package/include/vips/thread.h +1 -24
  65. package/include/vips/threadpool.h +0 -6
  66. package/include/vips/type.h +13 -9
  67. package/include/vips/util.h +17 -98
  68. package/include/vips/vector.h +0 -4
  69. package/include/vips/version.h +8 -8
  70. package/include/vips/vips.h +1 -0
  71. package/package.json +1 -1
  72. package/versions.json +11 -11
  73. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +0 -221
  74. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +0 -37
  75. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +0 -525
  76. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +0 -40
  77. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +0 -115
  78. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +0 -481
  79. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +0 -113
  80. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +0 -718
  81. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +0 -33
  82. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +0 -70
  83. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +0 -168
  84. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +0 -46
  85. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +0 -165
  86. package/include/glib-2.0/glib/gwin32.h +0 -142
  87. package/include/harfbuzz/hb-subset-repacker.h +0 -81
  88. package/include/hwy/ops/tuple-inl.h +0 -125
  89. package/include/orc-0.4/orc/orc-stdint.h +0 -1
  90. package/include/orc-0.4/orc/orc.h +0 -16
  91. package/include/orc-0.4/orc/orcarm.h +0 -879
  92. package/include/orc-0.4/orc/orcbytecode.h +0 -35
  93. package/include/orc-0.4/orc/orcbytecodes.h +0 -255
  94. package/include/orc-0.4/orc/orccode.h +0 -53
  95. package/include/orc-0.4/orc/orccompiler.h +0 -176
  96. package/include/orc-0.4/orc/orcconstant.h +0 -39
  97. package/include/orc-0.4/orc/orccpu.h +0 -21
  98. package/include/orc-0.4/orc/orccpuinsn.h +0 -40
  99. package/include/orc-0.4/orc/orcdebug.h +0 -158
  100. package/include/orc-0.4/orc/orcemulateopcodes.h +0 -203
  101. package/include/orc-0.4/orc/orcexecutor.h +0 -135
  102. package/include/orc-0.4/orc/orcfunctions.h +0 -93
  103. package/include/orc-0.4/orc/orcinstruction.h +0 -39
  104. package/include/orc-0.4/orc/orcinternal.h +0 -46
  105. package/include/orc-0.4/orc/orclimits.h +0 -94
  106. package/include/orc-0.4/orc/orcmips.h +0 -229
  107. package/include/orc-0.4/orc/orcmmx.h +0 -79
  108. package/include/orc-0.4/orc/orcneon.h +0 -43
  109. package/include/orc-0.4/orc/orconce.h +0 -166
  110. package/include/orc-0.4/orc/orcopcode.h +0 -63
  111. package/include/orc-0.4/orc/orcparse.h +0 -27
  112. package/include/orc-0.4/orc/orcpowerpc.h +0 -209
  113. package/include/orc-0.4/orc/orcprogram.h +0 -192
  114. package/include/orc-0.4/orc/orcrule.h +0 -52
  115. package/include/orc-0.4/orc/orcsse.h +0 -55
  116. package/include/orc-0.4/orc/orctarget.h +0 -115
  117. package/include/orc-0.4/orc/orcutils.h +0 -238
  118. package/include/orc-0.4/orc/orcvariable.h +0 -81
  119. package/include/orc-0.4/orc/orcx86.h +0 -199
  120. package/include/orc-0.4/orc/orcx86insn.h +0 -672
@@ -1,6 +1,6 @@
1
1
  /* pngconf.h - machine-configurable file for libpng
2
2
  *
3
- * libpng version 1.6.47
3
+ * libpng version 1.6.48
4
4
  *
5
5
  * Copyright (c) 2018-2025 Cosmin Truta
6
6
  * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
@@ -219,25 +219,13 @@
219
219
  /* NOTE: PNGCBAPI always defaults to PNGCAPI. */
220
220
 
221
221
  # if defined(PNGAPI) && !defined(PNG_USER_PRIVATEBUILD)
222
- # error "PNG_USER_PRIVATEBUILD must be defined if PNGAPI is changed"
222
+ # error PNG_USER_PRIVATEBUILD must be defined if PNGAPI is changed
223
223
  # endif
224
224
 
225
- # if (defined(_MSC_VER) && _MSC_VER < 800) ||\
226
- (defined(__BORLANDC__) && __BORLANDC__ < 0x500)
227
- /* older Borland and MSC
228
- * compilers used '__export' and required this to be after
229
- * the type.
230
- */
231
- # ifndef PNG_EXPORT_TYPE
232
- # define PNG_EXPORT_TYPE(type) type PNG_IMPEXP
233
- # endif
234
- # define PNG_DLL_EXPORT __export
235
- # else /* newer compiler */
236
- # define PNG_DLL_EXPORT __declspec(dllexport)
237
- # ifndef PNG_DLL_IMPORT
238
- # define PNG_DLL_IMPORT __declspec(dllimport)
239
- # endif
240
- # endif /* compiler */
225
+ # define PNG_DLL_EXPORT __declspec(dllexport)
226
+ # ifndef PNG_DLL_IMPORT
227
+ # define PNG_DLL_IMPORT __declspec(dllimport)
228
+ # endif
241
229
 
242
230
  #else /* !Windows */
243
231
  # if (defined(__IBMC__) || defined(__IBMCPP__)) && defined(__OS2__)
@@ -479,7 +467,7 @@
479
467
  #if CHAR_BIT == 8 && UCHAR_MAX == 255
480
468
  typedef unsigned char png_byte;
481
469
  #else
482
- # error "libpng requires 8-bit bytes"
470
+ # error libpng requires 8-bit bytes
483
471
  #endif
484
472
 
485
473
  #if INT_MIN == -32768 && INT_MAX == 32767
@@ -487,7 +475,7 @@
487
475
  #elif SHRT_MIN == -32768 && SHRT_MAX == 32767
488
476
  typedef short png_int_16;
489
477
  #else
490
- # error "libpng requires a signed 16-bit type"
478
+ # error libpng requires a signed 16-bit integer type
491
479
  #endif
492
480
 
493
481
  #if UINT_MAX == 65535
@@ -495,7 +483,7 @@
495
483
  #elif USHRT_MAX == 65535
496
484
  typedef unsigned short png_uint_16;
497
485
  #else
498
- # error "libpng requires an unsigned 16-bit type"
486
+ # error libpng requires an unsigned 16-bit integer type
499
487
  #endif
500
488
 
501
489
  #if INT_MIN < -2147483646 && INT_MAX > 2147483646
@@ -503,7 +491,7 @@
503
491
  #elif LONG_MIN < -2147483646 && LONG_MAX > 2147483646
504
492
  typedef long int png_int_32;
505
493
  #else
506
- # error "libpng requires a signed 32-bit (or more) type"
494
+ # error libpng requires a signed 32-bit (or longer) integer type
507
495
  #endif
508
496
 
509
497
  #if UINT_MAX > 4294967294U
@@ -511,7 +499,7 @@
511
499
  #elif ULONG_MAX > 4294967294U
512
500
  typedef unsigned long int png_uint_32;
513
501
  #else
514
- # error "libpng requires an unsigned 32-bit (or more) type"
502
+ # error libpng requires an unsigned 32-bit (or longer) integer type
515
503
  #endif
516
504
 
517
505
  /* Prior to 1.6.0, it was possible to disable the use of size_t and ptrdiff_t.
@@ -592,10 +580,6 @@ typedef const png_fixed_point * png_const_fixed_point_p;
592
580
  typedef size_t * png_size_tp;
593
581
  typedef const size_t * png_const_size_tp;
594
582
 
595
- #ifdef PNG_STDIO_SUPPORTED
596
- typedef FILE * png_FILE_p;
597
- #endif
598
-
599
583
  #ifdef PNG_FLOATING_POINT_SUPPORTED
600
584
  typedef double * png_doublep;
601
585
  typedef const double * png_const_doublep;
@@ -617,6 +601,15 @@ typedef double * * png_doublepp;
617
601
  /* Pointers to pointers to pointers; i.e., pointer to array */
618
602
  typedef char * * * png_charppp;
619
603
 
604
+ #ifdef PNG_STDIO_SUPPORTED
605
+ /* With PNG_STDIO_SUPPORTED it was possible to use I/O streams that were
606
+ * not necessarily stdio FILE streams, to allow building Windows applications
607
+ * before Win32 and Windows CE applications before WinCE 3.0, but that kind
608
+ * of support has long been discontinued.
609
+ */
610
+ typedef FILE * png_FILE_p; /* [Deprecated] */
611
+ #endif
612
+
620
613
  #endif /* PNG_BUILDING_SYMBOL_TABLE */
621
614
 
622
615
  #endif /* PNGCONF_H */
@@ -1,6 +1,6 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.47 */
3
+ /* libpng version 1.6.48 */
4
4
 
5
5
  /* Copyright (c) 2018-2025 Cosmin Truta */
6
6
  /* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
@@ -197,7 +197,6 @@ XMLPUBFUN void
197
197
  */
198
198
  typedef enum {
199
199
  HTML_PARSE_RECOVER = 1<<0, /* No effect */
200
- HTML_PARSE_HTML5 = 1<<1, /* HTML5 support */
201
200
  HTML_PARSE_NODEFDTD = 1<<2, /* do not default a doctype if not found */
202
201
  HTML_PARSE_NOERROR = 1<<5, /* suppress error reports */
203
202
  HTML_PARSE_NOWARNING= 1<<6, /* suppress warning reports */
@@ -208,7 +207,8 @@ typedef enum {
208
207
  HTML_PARSE_COMPACT = 1<<16,/* compact small text nodes */
209
208
  HTML_PARSE_HUGE = 1<<19,/* relax any hardcoded limit from the parser */
210
209
  HTML_PARSE_IGNORE_ENC=1<<21,/* ignore internal document encoding hint */
211
- HTML_PARSE_BIG_LINES= 1<<22 /* Store big lines numbers in text PSVI field */
210
+ HTML_PARSE_BIG_LINES= 1<<22,/* Store big lines numbers in text PSVI field */
211
+ HTML_PARSE_HTML5 = 1<<26 /* HTML5 support */
212
212
  } htmlParserOption;
213
213
 
214
214
  XMLPUBFUN void
@@ -1458,8 +1458,10 @@ XMLPUBFUN int
1458
1458
  xmlCtxtIsHtml (xmlParserCtxtPtr ctxt);
1459
1459
  XMLPUBFUN int
1460
1460
  xmlCtxtIsStopped (xmlParserCtxtPtr ctxt);
1461
+ #ifdef LIBXML_VALID_ENABLED
1461
1462
  XMLPUBFUN xmlValidCtxtPtr
1462
1463
  xmlCtxtGetValidCtxt (xmlParserCtxtPtr ctxt);
1464
+ #endif
1463
1465
  XMLPUBFUN const xmlChar *
1464
1466
  xmlCtxtGetVersion (xmlParserCtxtPtr ctxt);
1465
1467
  XMLPUBFUN const xmlChar *
@@ -250,7 +250,7 @@ XMLPUBFUN int
250
250
  xmlInputReadCallback readFunc,
251
251
  xmlInputCloseCallback closeFunc);
252
252
 
253
- xmlParserInputBufferPtr
253
+ XMLPUBFUN xmlParserInputBufferPtr
254
254
  __xmlParserInputBufferCreateFilename(const char *URI,
255
255
  xmlCharEncoding enc);
256
256
 
@@ -319,7 +319,7 @@ XMLPUBFUN int
319
319
  xmlOutputWriteCallback writeFunc,
320
320
  xmlOutputCloseCallback closeFunc);
321
321
 
322
- xmlOutputBufferPtr
322
+ XMLPUBFUN xmlOutputBufferPtr
323
323
  __xmlOutputBufferCreateFilename(const char *URI,
324
324
  xmlCharEncodingHandlerPtr encoder,
325
325
  int compression);
@@ -19,7 +19,7 @@ extern "C" {
19
19
  /*
20
20
  * Backward compatibility
21
21
  */
22
- #define initGenericErrorDefaultFunc(h) xmlSetGenericErrorFunc(NULL, h)
22
+ #define initGenericErrorDefaultFunc(h) xmlSetGenericErrorFunc(NULL, *(h))
23
23
 
24
24
  /**
25
25
  * xmlErrorLevel:
@@ -15,21 +15,21 @@
15
15
  *
16
16
  * the version string like "1.2.3"
17
17
  */
18
- #define LIBXML_DOTTED_VERSION "2.14.1"
18
+ #define LIBXML_DOTTED_VERSION "2.14.3"
19
19
 
20
20
  /**
21
21
  * LIBXML_VERSION:
22
22
  *
23
23
  * the version number: 1.2.3 value is 10203
24
24
  */
25
- #define LIBXML_VERSION 21401
25
+ #define LIBXML_VERSION 21403
26
26
 
27
27
  /**
28
28
  * LIBXML_VERSION_STRING:
29
29
  *
30
30
  * the version number string, 1.2.3 value is "10203"
31
31
  */
32
- #define LIBXML_VERSION_STRING "21401"
32
+ #define LIBXML_VERSION_STRING "21403"
33
33
 
34
34
  /**
35
35
  * LIBXML_VERSION_EXTRA:
@@ -44,7 +44,7 @@
44
44
  * Macro to check that the libxml version in use is compatible with
45
45
  * the version the software has been compiled against
46
46
  */
47
- #define LIBXML_TEST_VERSION xmlCheckVersion(21401);
47
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21403);
48
48
 
49
49
  /**
50
50
  * LIBXML_THREAD_ENABLED:
@@ -32,10 +32,10 @@
32
32
  #endif
33
33
 
34
34
  #define PIXMAN_VERSION_MAJOR 0
35
- #define PIXMAN_VERSION_MINOR 44
35
+ #define PIXMAN_VERSION_MINOR 46
36
36
  #define PIXMAN_VERSION_MICRO 2
37
37
 
38
- #define PIXMAN_VERSION_STRING "0.44.2"
38
+ #define PIXMAN_VERSION_STRING "0.46.2"
39
39
 
40
40
  #define PIXMAN_VERSION_ENCODE(major, minor, micro) ( \
41
41
  ((major) * 10000) \
@@ -754,6 +754,184 @@ void pixman_region32_reset (pixman_region32_t
754
754
 
755
755
  PIXMAN_API
756
756
  void pixman_region32_clear (pixman_region32_t *region);
757
+ /*
758
+ * 64 bit fractional regions
759
+ */
760
+ typedef struct pixman_region64f_data pixman_region64f_data_t;
761
+ typedef struct pixman_box64f pixman_box64f_t;
762
+ typedef struct pixman_rectangle64f pixman_rectangle64f_t;
763
+ typedef struct pixman_region64f pixman_region64f_t;
764
+
765
+ struct pixman_region64f_data {
766
+ long size;
767
+ long numRects;
768
+ /* pixman_box64f_t rects[size]; in memory but not explicitly declared */
769
+ };
770
+
771
+ struct pixman_rectangle64f
772
+ {
773
+ double x, y;
774
+ double width, height;
775
+ };
776
+
777
+ struct pixman_box64f
778
+ {
779
+ double x1, y1, x2, y2;
780
+ };
781
+
782
+ struct pixman_region64f
783
+ {
784
+ pixman_box64f_t extents;
785
+ pixman_region64f_data_t *data;
786
+ };
787
+
788
+ /* creation/destruction */
789
+ PIXMAN_API
790
+ void pixman_region64f_init (pixman_region64f_t *region);
791
+
792
+ PIXMAN_API
793
+ void pixman_region64f_init_rect (pixman_region64f_t *region,
794
+ int x,
795
+ int y,
796
+ unsigned int width,
797
+ unsigned int height);
798
+
799
+ PIXMAN_API
800
+ void pixman_region64f_init_rectf (pixman_region64f_t *region,
801
+ double x,
802
+ double y,
803
+ double width,
804
+ double height);
805
+
806
+ PIXMAN_API
807
+ pixman_bool_t pixman_region64f_init_rects (pixman_region64f_t *region,
808
+ const pixman_box64f_t *boxes,
809
+ int count);
810
+
811
+ PIXMAN_API
812
+ void pixman_region64f_init_with_extents (pixman_region64f_t *region,
813
+ const pixman_box64f_t *extents);
814
+
815
+ PIXMAN_API
816
+ void pixman_region64f_init_from_image (pixman_region64f_t *region,
817
+ pixman_image_t *image);
818
+
819
+ PIXMAN_API
820
+ void pixman_region64f_fini (pixman_region64f_t *region);
821
+
822
+
823
+ /* manipulation */
824
+ PIXMAN_API
825
+ void pixman_region64f_translate (pixman_region64f_t *region,
826
+ int x,
827
+ int y);
828
+
829
+ PIXMAN_API
830
+ void pixman_region64f_translatef (pixman_region64f_t *region,
831
+ double x,
832
+ double y);
833
+
834
+ PIXMAN_API
835
+ pixman_bool_t pixman_region64f_copy (pixman_region64f_t *dest,
836
+ const pixman_region64f_t *source);
837
+
838
+ PIXMAN_API
839
+ pixman_bool_t pixman_region64f_intersect (pixman_region64f_t *new_reg,
840
+ const pixman_region64f_t *reg1,
841
+ const pixman_region64f_t *reg2);
842
+
843
+ PIXMAN_API
844
+ pixman_bool_t pixman_region64f_union (pixman_region64f_t *new_reg,
845
+ const pixman_region64f_t *reg1,
846
+ const pixman_region64f_t *reg2);
847
+
848
+ PIXMAN_API
849
+ pixman_bool_t pixman_region64f_intersect_rect (pixman_region64f_t *dest,
850
+ const pixman_region64f_t *source,
851
+ int x,
852
+ int y,
853
+ unsigned int width,
854
+ unsigned int height);
855
+
856
+ PIXMAN_API
857
+ pixman_bool_t pixman_region64f_intersect_rectf (pixman_region64f_t *dest,
858
+ const pixman_region64f_t *source,
859
+ double x,
860
+ double y,
861
+ double width,
862
+ double height);
863
+
864
+ PIXMAN_API
865
+ pixman_bool_t pixman_region64f_union_rect (pixman_region64f_t *dest,
866
+ const pixman_region64f_t *source,
867
+ int x,
868
+ int y,
869
+ unsigned int width,
870
+ unsigned int height);
871
+
872
+ PIXMAN_API
873
+ pixman_bool_t pixman_region64f_union_rectf (pixman_region64f_t *dest,
874
+ const pixman_region64f_t *source,
875
+ double x,
876
+ double y,
877
+ double width,
878
+ double height);
879
+
880
+ PIXMAN_API
881
+ pixman_bool_t pixman_region64f_subtract (pixman_region64f_t *reg_d,
882
+ const pixman_region64f_t *reg_m,
883
+ const pixman_region64f_t *reg_s);
884
+
885
+ PIXMAN_API
886
+ pixman_bool_t pixman_region64f_inverse (pixman_region64f_t *new_reg,
887
+ const pixman_region64f_t *reg1,
888
+ const pixman_box64f_t *inv_rect);
889
+
890
+ PIXMAN_API
891
+ pixman_bool_t pixman_region64f_contains_point (const pixman_region64f_t *region,
892
+ int x,
893
+ int y,
894
+ pixman_box64f_t *box);
895
+
896
+ PIXMAN_API
897
+ pixman_bool_t pixman_region64f_contains_pointf (const pixman_region64f_t *region,
898
+ double x,
899
+ double y,
900
+ pixman_box64f_t *box);
901
+
902
+ PIXMAN_API
903
+ pixman_region_overlap_t pixman_region64f_contains_rectangle(const pixman_region64f_t *region,
904
+ const pixman_box64f_t *prect);
905
+
906
+ PIXMAN_API
907
+ pixman_bool_t pixman_region64f_empty (const pixman_region64f_t *region);
908
+
909
+ PIXMAN_API
910
+ pixman_bool_t pixman_region64f_not_empty (const pixman_region64f_t *region);
911
+
912
+ PIXMAN_API
913
+ pixman_box64f_t * pixman_region64f_extents (const pixman_region64f_t *region);
914
+
915
+ PIXMAN_API
916
+ int pixman_region64f_n_rects (const pixman_region64f_t *region);
917
+
918
+ PIXMAN_API
919
+ pixman_box64f_t * pixman_region64f_rectangles (const pixman_region64f_t *region,
920
+ int *n_rects);
921
+
922
+ PIXMAN_API
923
+ pixman_bool_t pixman_region64f_equal (const pixman_region64f_t *region1,
924
+ const pixman_region64f_t *region2);
925
+
926
+ PIXMAN_API
927
+ pixman_bool_t pixman_region64f_selfcheck (pixman_region64f_t *region);
928
+
929
+ PIXMAN_API
930
+ void pixman_region64f_reset (pixman_region64f_t *region,
931
+ const pixman_box64f_t *box);
932
+
933
+ PIXMAN_API
934
+ void pixman_region64f_clear (pixman_region64f_t *region);
757
935
 
758
936
 
759
937
  /* Copy / Fill / Misc */
@@ -880,6 +1058,10 @@ typedef enum {
880
1058
  /* 96bpp formats */
881
1059
  PIXMAN_rgb_float = PIXMAN_FORMAT_BYTE(96,PIXMAN_TYPE_RGBA_FLOAT,0,32,32,32),
882
1060
 
1061
+ /* 64bpp formats */
1062
+ /* [63:0] A:B:G:R 16:16:16:16 native endian */
1063
+ PIXMAN_a16b16g16r16 = PIXMAN_FORMAT_BYTE(64,PIXMAN_TYPE_ABGR,16,16,16,16),
1064
+
883
1065
  /* 32bpp formats */
884
1066
  PIXMAN_a8r8g8b8 = PIXMAN_FORMAT(32,PIXMAN_TYPE_ARGB,8,8,8,8),
885
1067
  PIXMAN_x8r8g8b8 = PIXMAN_FORMAT(32,PIXMAN_TYPE_ARGB,0,8,8,8),
@@ -1021,6 +1203,10 @@ PIXMAN_API
1021
1203
  pixman_bool_t pixman_image_set_clip_region32 (pixman_image_t *image,
1022
1204
  const pixman_region32_t *region);
1023
1205
 
1206
+ PIXMAN_API
1207
+ pixman_bool_t pixman_image_set_clip_region64f (pixman_image_t *image,
1208
+ const pixman_region64f_t *region);
1209
+
1024
1210
  PIXMAN_API
1025
1211
  void pixman_image_set_has_client_clip (pixman_image_t *image,
1026
1212
  pixman_bool_t clien_clip);
@@ -1177,6 +1363,20 @@ void pixman_image_composite32 (pixman_op_t op,
1177
1363
  int32_t width,
1178
1364
  int32_t height);
1179
1365
 
1366
+ PIXMAN_API
1367
+ void pixman_image_composite64f (pixman_op_t op,
1368
+ pixman_image_t *src,
1369
+ pixman_image_t *mask,
1370
+ pixman_image_t *dest,
1371
+ double src_x,
1372
+ double src_y,
1373
+ double mask_x,
1374
+ double mask_y,
1375
+ double dest_x,
1376
+ double dest_y,
1377
+ double width,
1378
+ double height);
1379
+
1180
1380
  /* Executive Summary: This function is a no-op that only exists
1181
1381
  * for historical reasons.
1182
1382
  *
package/include/png.h CHANGED
@@ -1,6 +1,6 @@
1
1
  /* png.h - header file for PNG reference library
2
2
  *
3
- * libpng version 1.6.47
3
+ * libpng version 1.6.48
4
4
  *
5
5
  * Copyright (c) 2018-2025 Cosmin Truta
6
6
  * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
@@ -14,7 +14,7 @@
14
14
  * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
15
15
  * libpng versions 0.97, January 1998, through 1.6.35, July 2018:
16
16
  * Glenn Randers-Pehrson
17
- * libpng versions 1.6.36, December 2018, through 1.6.47, February 2025:
17
+ * libpng versions 1.6.36, December 2018, through 1.6.48, April 2025:
18
18
  * Cosmin Truta
19
19
  * See also "Contributing Authors", below.
20
20
  */
@@ -238,7 +238,7 @@
238
238
  * ...
239
239
  * 1.5.30 15 10530 15.so.15.30[.0]
240
240
  * ...
241
- * 1.6.47 16 10647 16.so.16.47[.0]
241
+ * 1.6.48 16 10648 16.so.16.48[.0]
242
242
  *
243
243
  * Henceforth the source version will match the shared-library major and
244
244
  * minor numbers; the shared-library major version number will be used for
@@ -274,7 +274,7 @@
274
274
  */
275
275
 
276
276
  /* Version information for png.h - this should match the version in png.c */
277
- #define PNG_LIBPNG_VER_STRING "1.6.47"
277
+ #define PNG_LIBPNG_VER_STRING "1.6.48"
278
278
  #define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
279
279
 
280
280
  /* The versions of shared library builds should stay in sync, going forward */
@@ -285,7 +285,7 @@
285
285
  /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
286
286
  #define PNG_LIBPNG_VER_MAJOR 1
287
287
  #define PNG_LIBPNG_VER_MINOR 6
288
- #define PNG_LIBPNG_VER_RELEASE 47
288
+ #define PNG_LIBPNG_VER_RELEASE 48
289
289
 
290
290
  /* This should be zero for a public release, or non-zero for a
291
291
  * development version.
@@ -316,7 +316,7 @@
316
316
  * From version 1.0.1 it is:
317
317
  * XXYYZZ, where XX=major, YY=minor, ZZ=release
318
318
  */
319
- #define PNG_LIBPNG_VER 10647 /* 1.6.47 */
319
+ #define PNG_LIBPNG_VER 10648 /* 1.6.48 */
320
320
 
321
321
  /* Library configuration: these options cannot be changed after
322
322
  * the library has been built.
@@ -426,7 +426,7 @@ extern "C" {
426
426
  /* This triggers a compiler error in png.c, if png.c and png.h
427
427
  * do not agree upon the version number.
428
428
  */
429
- typedef char* png_libpng_version_1_6_47;
429
+ typedef char* png_libpng_version_1_6_48;
430
430
 
431
431
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
432
432
  *
@@ -1570,7 +1570,7 @@ PNG_EXPORT(226, void, png_set_text_compression_method, (png_structrp png_ptr,
1570
1570
 
1571
1571
  #ifdef PNG_STDIO_SUPPORTED
1572
1572
  /* Initialize the input/output for the PNG file to the default functions. */
1573
- PNG_EXPORT(74, void, png_init_io, (png_structrp png_ptr, png_FILE_p fp));
1573
+ PNG_EXPORT(74, void, png_init_io, (png_structrp png_ptr, FILE *fp));
1574
1574
  #endif
1575
1575
 
1576
1576
  /* 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,
3088
3088
  */
3089
3089
 
3090
3090
  PNG_EXPORT(235, int, png_image_begin_read_from_stdio, (png_imagep image,
3091
- FILE* file));
3091
+ FILE *file));
3092
3092
  /* The PNG header is read from the stdio FILE object. */
3093
3093
  #endif /* STDIO */
3094
3094
 
@@ -3163,7 +3163,7 @@ PNG_EXPORT(239, int, png_image_write_to_file, (png_imagep image,
3163
3163
  PNG_EXPORT(240, int, png_image_write_to_stdio, (png_imagep image, FILE *file,
3164
3164
  int convert_to_8_bit, const void *buffer, png_int_32 row_stride,
3165
3165
  const void *colormap));
3166
- /* Write the image to the given (FILE*). */
3166
+ /* Write the image to the given FILE object. */
3167
3167
  #endif /* SIMPLIFIED_WRITE_STDIO */
3168
3168
 
3169
3169
  /* With all write APIs if image is in one of the linear formats with 16-bit
package/include/pngconf.h CHANGED
@@ -1,6 +1,6 @@
1
1
  /* pngconf.h - machine-configurable file for libpng
2
2
  *
3
- * libpng version 1.6.47
3
+ * libpng version 1.6.48
4
4
  *
5
5
  * Copyright (c) 2018-2025 Cosmin Truta
6
6
  * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
@@ -219,25 +219,13 @@
219
219
  /* NOTE: PNGCBAPI always defaults to PNGCAPI. */
220
220
 
221
221
  # if defined(PNGAPI) && !defined(PNG_USER_PRIVATEBUILD)
222
- # error "PNG_USER_PRIVATEBUILD must be defined if PNGAPI is changed"
222
+ # error PNG_USER_PRIVATEBUILD must be defined if PNGAPI is changed
223
223
  # endif
224
224
 
225
- # if (defined(_MSC_VER) && _MSC_VER < 800) ||\
226
- (defined(__BORLANDC__) && __BORLANDC__ < 0x500)
227
- /* older Borland and MSC
228
- * compilers used '__export' and required this to be after
229
- * the type.
230
- */
231
- # ifndef PNG_EXPORT_TYPE
232
- # define PNG_EXPORT_TYPE(type) type PNG_IMPEXP
233
- # endif
234
- # define PNG_DLL_EXPORT __export
235
- # else /* newer compiler */
236
- # define PNG_DLL_EXPORT __declspec(dllexport)
237
- # ifndef PNG_DLL_IMPORT
238
- # define PNG_DLL_IMPORT __declspec(dllimport)
239
- # endif
240
- # endif /* compiler */
225
+ # define PNG_DLL_EXPORT __declspec(dllexport)
226
+ # ifndef PNG_DLL_IMPORT
227
+ # define PNG_DLL_IMPORT __declspec(dllimport)
228
+ # endif
241
229
 
242
230
  #else /* !Windows */
243
231
  # if (defined(__IBMC__) || defined(__IBMCPP__)) && defined(__OS2__)
@@ -479,7 +467,7 @@
479
467
  #if CHAR_BIT == 8 && UCHAR_MAX == 255
480
468
  typedef unsigned char png_byte;
481
469
  #else
482
- # error "libpng requires 8-bit bytes"
470
+ # error libpng requires 8-bit bytes
483
471
  #endif
484
472
 
485
473
  #if INT_MIN == -32768 && INT_MAX == 32767
@@ -487,7 +475,7 @@
487
475
  #elif SHRT_MIN == -32768 && SHRT_MAX == 32767
488
476
  typedef short png_int_16;
489
477
  #else
490
- # error "libpng requires a signed 16-bit type"
478
+ # error libpng requires a signed 16-bit integer type
491
479
  #endif
492
480
 
493
481
  #if UINT_MAX == 65535
@@ -495,7 +483,7 @@
495
483
  #elif USHRT_MAX == 65535
496
484
  typedef unsigned short png_uint_16;
497
485
  #else
498
- # error "libpng requires an unsigned 16-bit type"
486
+ # error libpng requires an unsigned 16-bit integer type
499
487
  #endif
500
488
 
501
489
  #if INT_MIN < -2147483646 && INT_MAX > 2147483646
@@ -503,7 +491,7 @@
503
491
  #elif LONG_MIN < -2147483646 && LONG_MAX > 2147483646
504
492
  typedef long int png_int_32;
505
493
  #else
506
- # error "libpng requires a signed 32-bit (or more) type"
494
+ # error libpng requires a signed 32-bit (or longer) integer type
507
495
  #endif
508
496
 
509
497
  #if UINT_MAX > 4294967294U
@@ -511,7 +499,7 @@
511
499
  #elif ULONG_MAX > 4294967294U
512
500
  typedef unsigned long int png_uint_32;
513
501
  #else
514
- # error "libpng requires an unsigned 32-bit (or more) type"
502
+ # error libpng requires an unsigned 32-bit (or longer) integer type
515
503
  #endif
516
504
 
517
505
  /* Prior to 1.6.0, it was possible to disable the use of size_t and ptrdiff_t.
@@ -592,10 +580,6 @@ typedef const png_fixed_point * png_const_fixed_point_p;
592
580
  typedef size_t * png_size_tp;
593
581
  typedef const size_t * png_const_size_tp;
594
582
 
595
- #ifdef PNG_STDIO_SUPPORTED
596
- typedef FILE * png_FILE_p;
597
- #endif
598
-
599
583
  #ifdef PNG_FLOATING_POINT_SUPPORTED
600
584
  typedef double * png_doublep;
601
585
  typedef const double * png_const_doublep;
@@ -617,6 +601,15 @@ typedef double * * png_doublepp;
617
601
  /* Pointers to pointers to pointers; i.e., pointer to array */
618
602
  typedef char * * * png_charppp;
619
603
 
604
+ #ifdef PNG_STDIO_SUPPORTED
605
+ /* With PNG_STDIO_SUPPORTED it was possible to use I/O streams that were
606
+ * not necessarily stdio FILE streams, to allow building Windows applications
607
+ * before Win32 and Windows CE applications before WinCE 3.0, but that kind
608
+ * of support has long been discontinued.
609
+ */
610
+ typedef FILE * png_FILE_p; /* [Deprecated] */
611
+ #endif
612
+
620
613
  #endif /* PNG_BUILDING_SYMBOL_TABLE */
621
614
 
622
615
  #endif /* PNGCONF_H */
@@ -1,6 +1,6 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.47 */
3
+ /* libpng version 1.6.48 */
4
4
 
5
5
  /* Copyright (c) 2018-2025 Cosmin Truta */
6
6
  /* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */