@revizly/sharp-libvips-dev 1.0.19 → 1.0.20

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 (155) hide show
  1. package/cplusplus/VConnection.cpp +1 -151
  2. package/cplusplus/VError.cpp +1 -51
  3. package/cplusplus/VImage.cpp +1 -1611
  4. package/cplusplus/VInterpolate.cpp +1 -62
  5. package/cplusplus/VRegion.cpp +1 -27
  6. package/cplusplus/vips-operators.cpp +1 -3861
  7. package/include/archive.h +53 -2
  8. package/include/archive_entry.h +56 -25
  9. package/include/ffi.h +20 -2
  10. package/include/fontconfig/fontconfig.h +12 -2
  11. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  12. package/include/glib-2.0/gio/gzlibcompressor.h +6 -0
  13. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  14. package/include/glib-2.0/girepository/girepository.h +3 -0
  15. package/include/glib-2.0/girepository/gitypes.h +6 -0
  16. package/include/glib-2.0/glib/gbitlock.h +11 -0
  17. package/include/glib-2.0/glib/gdate.h +6 -0
  18. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  19. package/include/glib-2.0/glib/gmain.h +13 -10
  20. package/include/glib-2.0/glib/gmarkup.h +4 -0
  21. package/include/glib-2.0/glib/gmessages.h +4 -1
  22. package/include/glib-2.0/glib/gstring.h +2 -0
  23. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  24. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  25. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  26. package/include/harfbuzz/hb-deprecated.h +4 -4
  27. package/include/harfbuzz/hb-font.h +120 -9
  28. package/include/harfbuzz/hb-version.h +3 -3
  29. package/include/hwy/abort.h +2 -19
  30. package/include/hwy/aligned_allocator.h +11 -7
  31. package/include/hwy/auto_tune.h +504 -0
  32. package/include/hwy/base.h +425 -104
  33. package/include/hwy/cache_control.h +16 -0
  34. package/include/hwy/detect_compiler_arch.h +32 -1
  35. package/include/hwy/detect_targets.h +251 -67
  36. package/include/hwy/foreach_target.h +35 -0
  37. package/include/hwy/highway.h +185 -76
  38. package/include/hwy/nanobenchmark.h +1 -19
  39. package/include/hwy/ops/arm_neon-inl.h +969 -458
  40. package/include/hwy/ops/arm_sve-inl.h +1137 -359
  41. package/include/hwy/ops/emu128-inl.h +97 -11
  42. package/include/hwy/ops/generic_ops-inl.h +1222 -34
  43. package/include/hwy/ops/loongarch_lasx-inl.h +4664 -0
  44. package/include/hwy/ops/loongarch_lsx-inl.h +5933 -0
  45. package/include/hwy/ops/ppc_vsx-inl.h +306 -126
  46. package/include/hwy/ops/rvv-inl.h +546 -51
  47. package/include/hwy/ops/scalar-inl.h +77 -22
  48. package/include/hwy/ops/set_macros-inl.h +133 -17
  49. package/include/hwy/ops/shared-inl.h +50 -10
  50. package/include/hwy/ops/wasm_128-inl.h +137 -92
  51. package/include/hwy/ops/x86_128-inl.h +773 -214
  52. package/include/hwy/ops/x86_256-inl.h +712 -255
  53. package/include/hwy/ops/x86_512-inl.h +429 -753
  54. package/include/hwy/ops/x86_avx3-inl.h +501 -0
  55. package/include/hwy/per_target.h +2 -1
  56. package/include/hwy/profiler.h +622 -486
  57. package/include/hwy/targets.h +62 -20
  58. package/include/hwy/timer-inl.h +8 -160
  59. package/include/hwy/timer.h +170 -3
  60. package/include/hwy/x86_cpuid.h +81 -0
  61. package/include/libheif/heif.h +16 -2603
  62. package/include/libheif/heif_aux_images.h +182 -0
  63. package/include/libheif/heif_brands.h +373 -0
  64. package/include/libheif/heif_color.h +357 -0
  65. package/include/libheif/heif_context.h +329 -0
  66. package/include/libheif/heif_cxx.h +21 -1
  67. package/include/libheif/heif_decoding.h +162 -0
  68. package/include/libheif/heif_encoding.h +391 -0
  69. package/include/libheif/heif_entity_groups.h +60 -0
  70. package/include/libheif/heif_error.h +302 -0
  71. package/include/libheif/heif_image.h +352 -0
  72. package/include/libheif/heif_image_handle.h +120 -0
  73. package/include/libheif/heif_items.h +45 -45
  74. package/include/libheif/heif_library.h +216 -0
  75. package/include/libheif/heif_metadata.h +133 -0
  76. package/include/libheif/heif_plugin.h +53 -41
  77. package/include/libheif/heif_properties.h +73 -36
  78. package/include/libheif/heif_regions.h +100 -100
  79. package/include/libheif/heif_security.h +102 -0
  80. package/include/libheif/heif_sequences.h +577 -0
  81. package/include/libheif/heif_tai_timestamps.h +202 -0
  82. package/include/libheif/heif_tiling.h +137 -0
  83. package/include/libheif/heif_uncompressed.h +109 -0
  84. package/include/libheif/heif_version.h +2 -2
  85. package/include/libpng16/png.h +35 -16
  86. package/include/libpng16/pngconf.h +1 -1
  87. package/include/libpng16/pnglibconf.h +1 -1
  88. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  89. package/include/libxml2/libxml/HTMLparser.h +2 -2
  90. package/include/libxml2/libxml/parser.h +4 -2
  91. package/include/libxml2/libxml/xmlIO.h +2 -2
  92. package/include/libxml2/libxml/xmlerror.h +2 -1
  93. package/include/libxml2/libxml/xmlversion.h +4 -4
  94. package/include/pango-1.0/pango/pango-attributes.h +1 -1
  95. package/include/pango-1.0/pango/pango-features.h +2 -2
  96. package/include/pixman-1/pixman-version.h +2 -2
  97. package/include/pixman-1/pixman.h +11 -0
  98. package/include/png.h +35 -16
  99. package/include/pngconf.h +1 -1
  100. package/include/pnglibconf.h +1 -1
  101. package/include/vips/VImage8.h +59 -14
  102. package/include/vips/arithmetic.h +34 -34
  103. package/include/vips/basic.h +4 -0
  104. package/include/vips/buf.h +0 -5
  105. package/include/vips/colour.h +0 -6
  106. package/include/vips/connection.h +25 -37
  107. package/include/vips/enumtypes.h +11 -2
  108. package/include/vips/foreign.h +71 -43
  109. package/include/vips/format.h +5 -5
  110. package/include/vips/gate.h +0 -11
  111. package/include/vips/header.h +11 -11
  112. package/include/vips/image.h +7 -2
  113. package/include/vips/interpolate.h +0 -2
  114. package/include/vips/memory.h +4 -0
  115. package/include/vips/object.h +14 -18
  116. package/include/vips/operation.h +0 -2
  117. package/include/vips/private.h +50 -0
  118. package/include/vips/region.h +0 -2
  119. package/include/vips/thread.h +1 -9
  120. package/include/vips/threadpool.h +0 -6
  121. package/include/vips/type.h +12 -8
  122. package/include/vips/util.h +5 -73
  123. package/include/vips/vector.h +0 -4
  124. package/include/vips/version.h +5 -5
  125. package/include/webp/decode.h +11 -2
  126. package/include/webp/demux.h +2 -0
  127. package/include/webp/encode.h +2 -0
  128. package/include/webp/mux_types.h +1 -0
  129. package/include/webp/sharpyuv/sharpyuv.h +1 -1
  130. package/include/webp/types.h +2 -2
  131. package/include/zlib.h +3 -3
  132. package/package.json +1 -1
  133. package/versions.json +15 -15
  134. package/include/cpuinfo.h +0 -2319
  135. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +0 -221
  136. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +0 -37
  137. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +0 -525
  138. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +0 -40
  139. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +0 -115
  140. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +0 -481
  141. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +0 -113
  142. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +0 -718
  143. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +0 -33
  144. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +0 -70
  145. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +0 -168
  146. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +0 -46
  147. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +0 -165
  148. package/include/harfbuzz/hb-subset-repacker.h +0 -81
  149. package/include/hwy/ops/tuple-inl.h +0 -125
  150. package/include/svt-av1/EbDebugMacros.h +0 -83
  151. package/include/svt-av1/EbSvtAv1.h +0 -432
  152. package/include/svt-av1/EbSvtAv1Enc.h +0 -1067
  153. package/include/svt-av1/EbSvtAv1ErrorCodes.h +0 -67
  154. package/include/svt-av1/EbSvtAv1Formats.h +0 -126
  155. package/include/svt-av1/EbSvtAv1Metadata.h +0 -156
@@ -15,21 +15,21 @@
15
15
  *
16
16
  * the version string like "1.2.3"
17
17
  */
18
- #define LIBXML_DOTTED_VERSION "2.14.2"
18
+ #define LIBXML_DOTTED_VERSION "2.14.5"
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 21402
25
+ #define LIBXML_VERSION 21405
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 "21402"
32
+ #define LIBXML_VERSION_STRING "21405"
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(21402);
47
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21405);
48
48
 
49
49
  /**
50
50
  * LIBXML_THREAD_ENABLED:
@@ -288,7 +288,7 @@ typedef enum {
288
288
  #define PANGO_ATTR_INDEX_TO_TEXT_END ((guint)(G_MAXUINT + 0))
289
289
 
290
290
  /**
291
- * PangoAttribute:
291
+ * PangoAttribute: (copy-func pango_attribute_copy) (free-func pango_attribute_destroy)
292
292
  * @klass: the class structure holding information about the type of the attribute
293
293
  * @start_index: the start index of the range (in bytes).
294
294
  * @end_index: end index of the range (in bytes). The character at this index
@@ -3,8 +3,8 @@
3
3
 
4
4
  #define PANGO_VERSION_MAJOR 1
5
5
  #define PANGO_VERSION_MINOR 56
6
- #define PANGO_VERSION_MICRO 3
6
+ #define PANGO_VERSION_MICRO 4
7
7
 
8
- #define PANGO_VERSION_STRING "1.56.3"
8
+ #define PANGO_VERSION_STRING "1.56.4"
9
9
 
10
10
  #endif /* PANGO_FEATURES_H */
@@ -33,9 +33,9 @@
33
33
 
34
34
  #define PIXMAN_VERSION_MAJOR 0
35
35
  #define PIXMAN_VERSION_MINOR 46
36
- #define PIXMAN_VERSION_MICRO 0
36
+ #define PIXMAN_VERSION_MICRO 4
37
37
 
38
- #define PIXMAN_VERSION_STRING "0.46.0"
38
+ #define PIXMAN_VERSION_STRING "0.46.4"
39
39
 
40
40
  #define PIXMAN_VERSION_ENCODE(major, minor, micro) ( \
41
41
  ((major) * 10000) \
@@ -826,6 +826,11 @@ void pixman_region64f_translate (pixman_region64f_t *
826
826
  int x,
827
827
  int y);
828
828
 
829
+ PIXMAN_API
830
+ void pixman_region64f_translatef (pixman_region64f_t *region,
831
+ double x,
832
+ double y);
833
+
829
834
  PIXMAN_API
830
835
  pixman_bool_t pixman_region64f_copy (pixman_region64f_t *dest,
831
836
  const pixman_region64f_t *source);
@@ -888,6 +893,12 @@ pixman_bool_t pixman_region64f_contains_point (const pixman_region6
888
893
  int y,
889
894
  pixman_box64f_t *box);
890
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
+
891
902
  PIXMAN_API
892
903
  pixman_region_overlap_t pixman_region64f_contains_rectangle(const pixman_region64f_t *region,
893
904
  const pixman_box64f_t *prect);
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.48
3
+ * libpng version 1.6.50
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.48, April 2025:
17
+ * libpng versions 1.6.36, December 2018, through 1.6.50, July 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.48 16 10648 16.so.16.48[.0]
241
+ * 1.6.50 16 10650 16.so.16.50[.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.48"
277
+ #define PNG_LIBPNG_VER_STRING "1.6.50"
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 48
288
+ #define PNG_LIBPNG_VER_RELEASE 50
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 10648 /* 1.6.48 */
319
+ #define PNG_LIBPNG_VER 10650 /* 1.6.50 */
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_48;
429
+ typedef char* png_libpng_version_1_6_50;
430
430
 
431
431
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
432
432
  *
@@ -3303,26 +3303,45 @@ PNG_EXPORT(245, int, png_image_write_to_memory, (png_imagep image, void *memory,
3303
3303
  * selected at run time.
3304
3304
  */
3305
3305
  #ifdef PNG_SET_OPTION_SUPPORTED
3306
+
3307
+ /* HARDWARE: ARM Neon SIMD instructions supported */
3306
3308
  #ifdef PNG_ARM_NEON_API_SUPPORTED
3307
- # define PNG_ARM_NEON 0 /* HARDWARE: ARM Neon SIMD instructions supported */
3309
+ # define PNG_ARM_NEON 0
3308
3310
  #endif
3309
- #define PNG_MAXIMUM_INFLATE_WINDOW 2 /* SOFTWARE: force maximum window */
3310
- #define PNG_SKIP_sRGB_CHECK_PROFILE 4 /* SOFTWARE: Check ICC profile for sRGB */
3311
+
3312
+ /* SOFTWARE: Force maximum window */
3313
+ #define PNG_MAXIMUM_INFLATE_WINDOW 2
3314
+
3315
+ /* SOFTWARE: Check ICC profile for sRGB */
3316
+ #define PNG_SKIP_sRGB_CHECK_PROFILE 4
3317
+
3318
+ /* HARDWARE: MIPS MSA SIMD instructions supported */
3311
3319
  #ifdef PNG_MIPS_MSA_API_SUPPORTED
3312
- # define PNG_MIPS_MSA 6 /* HARDWARE: MIPS Msa SIMD instructions supported */
3320
+ # define PNG_MIPS_MSA 6
3313
3321
  #endif
3322
+
3323
+ /* SOFTWARE: Disable Adler32 check on IDAT */
3314
3324
  #ifdef PNG_DISABLE_ADLER32_CHECK_SUPPORTED
3315
- # define PNG_IGNORE_ADLER32 8 /* SOFTWARE: disable Adler32 check on IDAT */
3325
+ # define PNG_IGNORE_ADLER32 8
3316
3326
  #endif
3327
+
3328
+ /* HARDWARE: PowerPC VSX SIMD instructions supported */
3317
3329
  #ifdef PNG_POWERPC_VSX_API_SUPPORTED
3318
- # define PNG_POWERPC_VSX 10 /* HARDWARE: PowerPC VSX SIMD instructions
3319
- * supported */
3330
+ # define PNG_POWERPC_VSX 10
3320
3331
  #endif
3332
+
3333
+ /* HARDWARE: MIPS MMI SIMD instructions supported */
3321
3334
  #ifdef PNG_MIPS_MMI_API_SUPPORTED
3322
- # define PNG_MIPS_MMI 12 /* HARDWARE: MIPS MMI SIMD instructions supported */
3335
+ # define PNG_MIPS_MMI 12
3336
+ #endif
3337
+
3338
+ /* HARDWARE: RISC-V RVV SIMD instructions supported */
3339
+ #ifdef PNG_RISCV_RVV_API_SUPPORTED
3340
+ # define PNG_RISCV_RVV 14
3323
3341
  #endif
3324
3342
 
3325
- #define PNG_OPTION_NEXT 14 /* Next option - numbers must be even */
3343
+ /* Next option - numbers must be even */
3344
+ #define PNG_OPTION_NEXT 16
3326
3345
 
3327
3346
  /* Return values: NOTE: there are four values and 'off' is *not* zero */
3328
3347
  #define PNG_OPTION_UNSET 0 /* Unset - defaults to off */
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.48
3
+ * libpng version 1.6.50
4
4
  *
5
5
  * Copyright (c) 2018-2025 Cosmin Truta
6
6
  * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
@@ -1,6 +1,6 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.48 */
3
+ /* libpng version 1.6.50 */
4
4
 
5
5
  /* Copyright (c) 2018-2025 Cosmin Truta */
6
6
  /* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
@@ -2082,6 +2082,7 @@ public:
2082
2082
 
2083
2083
  // headers for vips operations
2084
2084
  // this file is generated automatically, do not edit!
2085
+ // clang-format off
2085
2086
 
2086
2087
  /**
2087
2088
  * Transform lch to cmc.
@@ -3765,6 +3766,7 @@ public:
3765
3766
  *
3766
3767
  * **Optional parameters**
3767
3768
  * - **page** -- Load this page from the image, int.
3769
+ * - **oneshot** -- Load images a frame at a time, bool.
3768
3770
  * - **memory** -- Force open via memory, bool.
3769
3771
  * - **access** -- Required access pattern for this file, VipsAccess.
3770
3772
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -3781,6 +3783,7 @@ public:
3781
3783
  *
3782
3784
  * **Optional parameters**
3783
3785
  * - **page** -- Load this page from the image, int.
3786
+ * - **oneshot** -- Load images a frame at a time, bool.
3784
3787
  * - **memory** -- Force open via memory, bool.
3785
3788
  * - **access** -- Required access pattern for this file, VipsAccess.
3786
3789
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -3797,6 +3800,7 @@ public:
3797
3800
  *
3798
3801
  * **Optional parameters**
3799
3802
  * - **page** -- Load this page from the image, int.
3803
+ * - **oneshot** -- Load images a frame at a time, bool.
3800
3804
  * - **memory** -- Force open via memory, bool.
3801
3805
  * - **access** -- Required access pattern for this file, VipsAccess.
3802
3806
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -4520,7 +4524,7 @@ public:
4520
4524
  static VImage matload(const char *filename, VOption *options = nullptr);
4521
4525
 
4522
4526
  /**
4523
- * Invert an matrix.
4527
+ * Invert a matrix.
4524
4528
  * @param options Set of options.
4525
4529
  * @return Output matrix.
4526
4530
  */
@@ -4556,6 +4560,14 @@ public:
4556
4560
  */
4557
4561
  static VImage matrixload_source(VSource source, VOption *options = nullptr);
4558
4562
 
4563
+ /**
4564
+ * Multiply two matrices.
4565
+ * @param right Second matrix to multiply.
4566
+ * @param options Set of options.
4567
+ * @return Output matrix.
4568
+ */
4569
+ VImage matrixmultiply(VImage right, VOption *options = nullptr) const;
4570
+
4559
4571
  /**
4560
4572
  * Print matrix.
4561
4573
  *
@@ -5062,7 +5074,22 @@ public:
5062
5074
  static VImage ppmload(const char *filename, VOption *options = nullptr);
5063
5075
 
5064
5076
  /**
5065
- * Load ppm base class.
5077
+ * Load ppm from buffer.
5078
+ *
5079
+ * **Optional parameters**
5080
+ * - **memory** -- Force open via memory, bool.
5081
+ * - **access** -- Required access pattern for this file, VipsAccess.
5082
+ * - **fail_on** -- Error level to fail on, VipsFailOn.
5083
+ * - **revalidate** -- Don't use a cached result for this operation, bool.
5084
+ *
5085
+ * @param buffer Buffer to load from.
5086
+ * @param options Set of options.
5087
+ * @return Output image.
5088
+ */
5089
+ static VImage ppmload_buffer(VipsBlob *buffer, VOption *options = nullptr);
5090
+
5091
+ /**
5092
+ * Load ppm from source.
5066
5093
  *
5067
5094
  * **Optional parameters**
5068
5095
  * - **memory** -- Force open via memory, bool.
@@ -5413,6 +5440,15 @@ public:
5413
5440
  */
5414
5441
  VImage remainder_const(std::vector<double> c, VOption *options = nullptr) const;
5415
5442
 
5443
+ /**
5444
+ * Rebuild an mosaiced image.
5445
+ * @param old_str Search for this string.
5446
+ * @param new_str And swap for this string.
5447
+ * @param options Set of options.
5448
+ * @return Output image.
5449
+ */
5450
+ VImage remosaic(const char *old_str, const char *new_str, VOption *options = nullptr) const;
5451
+
5416
5452
  /**
5417
5453
  * Replicate an image.
5418
5454
  * @param across Repeat this many times horizontally.
@@ -5513,7 +5549,7 @@ public:
5513
5549
  VImage scRGB2XYZ(VOption *options = nullptr) const;
5514
5550
 
5515
5551
  /**
5516
- * Convert an scrgb image to srgb.
5552
+ * Convert scrgb to srgb.
5517
5553
  *
5518
5554
  * **Optional parameters**
5519
5555
  * - **depth** -- Output device space depth in bits, int.
@@ -5758,6 +5794,8 @@ public:
5758
5794
  * - **dpi** -- Render at this DPI, double.
5759
5795
  * - **scale** -- Scale output by this factor, double.
5760
5796
  * - **unlimited** -- Allow SVG of any size, bool.
5797
+ * - **stylesheet** -- Custom CSS, const char *.
5798
+ * - **high_bitdepth** -- Enable scRGB 128-bit output (32-bit per channel), bool.
5761
5799
  * - **memory** -- Force open via memory, bool.
5762
5800
  * - **access** -- Required access pattern for this file, VipsAccess.
5763
5801
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -5776,6 +5814,8 @@ public:
5776
5814
  * - **dpi** -- Render at this DPI, double.
5777
5815
  * - **scale** -- Scale output by this factor, double.
5778
5816
  * - **unlimited** -- Allow SVG of any size, bool.
5817
+ * - **stylesheet** -- Custom CSS, const char *.
5818
+ * - **high_bitdepth** -- Enable scRGB 128-bit output (32-bit per channel), bool.
5779
5819
  * - **memory** -- Force open via memory, bool.
5780
5820
  * - **access** -- Required access pattern for this file, VipsAccess.
5781
5821
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -5794,6 +5834,8 @@ public:
5794
5834
  * - **dpi** -- Render at this DPI, double.
5795
5835
  * - **scale** -- Scale output by this factor, double.
5796
5836
  * - **unlimited** -- Allow SVG of any size, bool.
5837
+ * - **stylesheet** -- Custom CSS, const char *.
5838
+ * - **high_bitdepth** -- Enable scRGB 128-bit output (32-bit per channel), bool.
5797
5839
  * - **memory** -- Force open via memory, bool.
5798
5840
  * - **access** -- Required access pattern for this file, VipsAccess.
5799
5841
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -5856,8 +5898,8 @@ public:
5856
5898
  * - **no_rotate** -- Don't use orientation tags to rotate image upright, bool.
5857
5899
  * - **crop** -- Reduce to fill target rectangle, then crop, VipsInteresting.
5858
5900
  * - **linear** -- Reduce in linear light, bool.
5859
- * - **import_profile** -- Fallback import profile, const char *.
5860
- * - **export_profile** -- Fallback export profile, const char *.
5901
+ * - **input_profile** -- Fallback input profile, const char *.
5902
+ * - **output_profile** -- Fallback output profile, const char *.
5861
5903
  * - **intent** -- Rendering intent, VipsIntent.
5862
5904
  * - **fail_on** -- Error level to fail on, VipsFailOn.
5863
5905
  *
@@ -5878,8 +5920,8 @@ public:
5878
5920
  * - **no_rotate** -- Don't use orientation tags to rotate image upright, bool.
5879
5921
  * - **crop** -- Reduce to fill target rectangle, then crop, VipsInteresting.
5880
5922
  * - **linear** -- Reduce in linear light, bool.
5881
- * - **import_profile** -- Fallback import profile, const char *.
5882
- * - **export_profile** -- Fallback export profile, const char *.
5923
+ * - **input_profile** -- Fallback input profile, const char *.
5924
+ * - **output_profile** -- Fallback output profile, const char *.
5883
5925
  * - **intent** -- Rendering intent, VipsIntent.
5884
5926
  * - **fail_on** -- Error level to fail on, VipsFailOn.
5885
5927
  *
@@ -5899,8 +5941,8 @@ public:
5899
5941
  * - **no_rotate** -- Don't use orientation tags to rotate image upright, bool.
5900
5942
  * - **crop** -- Reduce to fill target rectangle, then crop, VipsInteresting.
5901
5943
  * - **linear** -- Reduce in linear light, bool.
5902
- * - **import_profile** -- Fallback import profile, const char *.
5903
- * - **export_profile** -- Fallback export profile, const char *.
5944
+ * - **input_profile** -- Fallback input profile, const char *.
5945
+ * - **output_profile** -- Fallback output profile, const char *.
5904
5946
  * - **intent** -- Rendering intent, VipsIntent.
5905
5947
  * - **fail_on** -- Error level to fail on, VipsFailOn.
5906
5948
  *
@@ -5920,8 +5962,8 @@ public:
5920
5962
  * - **no_rotate** -- Don't use orientation tags to rotate image upright, bool.
5921
5963
  * - **crop** -- Reduce to fill target rectangle, then crop, VipsInteresting.
5922
5964
  * - **linear** -- Reduce in linear light, bool.
5923
- * - **import_profile** -- Fallback import profile, const char *.
5924
- * - **export_profile** -- Fallback export profile, const char *.
5965
+ * - **input_profile** -- Fallback input profile, const char *.
5966
+ * - **output_profile** -- Fallback output profile, const char *.
5925
5967
  * - **intent** -- Rendering intent, VipsIntent.
5926
5968
  * - **fail_on** -- Error level to fail on, VipsFailOn.
5927
5969
  *
@@ -5937,9 +5979,10 @@ public:
5937
5979
  *
5938
5980
  * **Optional parameters**
5939
5981
  * - **page** -- First page to load, int.
5940
- * - **subifd** -- Subifd index, int.
5941
5982
  * - **n** -- Number of pages to load, -1 for all, int.
5942
5983
  * - **autorotate** -- Rotate image using orientation tag, bool.
5984
+ * - **subifd** -- Subifd index, int.
5985
+ * - **unlimited** -- Remove all denial of service limits, bool.
5943
5986
  * - **memory** -- Force open via memory, bool.
5944
5987
  * - **access** -- Required access pattern for this file, VipsAccess.
5945
5988
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -5956,9 +5999,10 @@ public:
5956
5999
  *
5957
6000
  * **Optional parameters**
5958
6001
  * - **page** -- First page to load, int.
5959
- * - **subifd** -- Subifd index, int.
5960
6002
  * - **n** -- Number of pages to load, -1 for all, int.
5961
6003
  * - **autorotate** -- Rotate image using orientation tag, bool.
6004
+ * - **subifd** -- Subifd index, int.
6005
+ * - **unlimited** -- Remove all denial of service limits, bool.
5962
6006
  * - **memory** -- Force open via memory, bool.
5963
6007
  * - **access** -- Required access pattern for this file, VipsAccess.
5964
6008
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -5975,9 +6019,10 @@ public:
5975
6019
  *
5976
6020
  * **Optional parameters**
5977
6021
  * - **page** -- First page to load, int.
5978
- * - **subifd** -- Subifd index, int.
5979
6022
  * - **n** -- Number of pages to load, -1 for all, int.
5980
6023
  * - **autorotate** -- Rotate image using orientation tag, bool.
6024
+ * - **subifd** -- Subifd index, int.
6025
+ * - **unlimited** -- Remove all denial of service limits, bool.
5981
6026
  * - **memory** -- Force open via memory, bool.
5982
6027
  * - **access** -- Required access pattern for this file, VipsAccess.
5983
6028
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -43,24 +43,24 @@ extern "C" {
43
43
 
44
44
  /**
45
45
  * VipsOperationMath:
46
- * @VIPS_OPERATION_MATH_SIN: sin(), angles in degrees
47
- * @VIPS_OPERATION_MATH_COS: cos(), angles in degrees
48
- * @VIPS_OPERATION_MATH_TAN: tan(), angles in degrees
49
- * @VIPS_OPERATION_MATH_ASIN: asin(), angles in degrees
50
- * @VIPS_OPERATION_MATH_ACOS: acos(), angles in degrees
51
- * @VIPS_OPERATION_MATH_ATAN: atan(), angles in degrees
46
+ * @VIPS_OPERATION_MATH_SIN: `sin()`, angles in degrees
47
+ * @VIPS_OPERATION_MATH_COS: `cos()`, angles in degrees
48
+ * @VIPS_OPERATION_MATH_TAN: `tan()`, angles in degrees
49
+ * @VIPS_OPERATION_MATH_ASIN: `asin()`, angles in degrees
50
+ * @VIPS_OPERATION_MATH_ACOS: `acos()`, angles in degrees
51
+ * @VIPS_OPERATION_MATH_ATAN: `atan()`, angles in degrees
52
52
  * @VIPS_OPERATION_MATH_LOG: log base e
53
53
  * @VIPS_OPERATION_MATH_LOG10: log base 10
54
54
  * @VIPS_OPERATION_MATH_EXP: e to the something
55
55
  * @VIPS_OPERATION_MATH_EXP10: 10 to the something
56
- * @VIPS_OPERATION_MATH_SINH: sinh(), angles in radians
57
- * @VIPS_OPERATION_MATH_COSH: cosh(), angles in radians
58
- * @VIPS_OPERATION_MATH_TANH: tanh(), angles in radians
59
- * @VIPS_OPERATION_MATH_ASINH: asinh(), angles in radians
60
- * @VIPS_OPERATION_MATH_ACOSH: acosh(), angles in radians
61
- * @VIPS_OPERATION_MATH_ATANH: atanh(), angles in radians
56
+ * @VIPS_OPERATION_MATH_SINH: `sinh()`, angles in radians
57
+ * @VIPS_OPERATION_MATH_COSH: `cosh()`, angles in radians
58
+ * @VIPS_OPERATION_MATH_TANH: `tanh()`, angles in radians
59
+ * @VIPS_OPERATION_MATH_ASINH: `asinh()`, angles in radians
60
+ * @VIPS_OPERATION_MATH_ACOSH: `acosh()`, angles in radians
61
+ * @VIPS_OPERATION_MATH_ATANH: `atanh()`, angles in radians
62
62
  *
63
- * See also: vips_math().
63
+ * See also: [method@Image.math].
64
64
  */
65
65
  typedef enum {
66
66
  VIPS_OPERATION_MATH_SIN,
@@ -84,11 +84,11 @@ typedef enum {
84
84
 
85
85
  /**
86
86
  * VipsOperationMath2:
87
- * @VIPS_OPERATION_MATH2_POW: pow(left, right)
88
- * @VIPS_OPERATION_MATH2_WOP: pow(right, left)
89
- * @VIPS_OPERATION_MATH2_ATAN2: atan2(left, right)
87
+ * @VIPS_OPERATION_MATH2_POW: `pow(left, right)`
88
+ * @VIPS_OPERATION_MATH2_WOP: `pow(right, left)`
89
+ * @VIPS_OPERATION_MATH2_ATAN2: `atan2(left, right)`
90
90
  *
91
- * See also: vips_math().
91
+ * See also: [method@Image.math].
92
92
  */
93
93
  typedef enum {
94
94
  VIPS_OPERATION_MATH2_POW,
@@ -103,7 +103,7 @@ typedef enum {
103
103
  * @VIPS_OPERATION_ROUND_FLOOR: largest integral value not greater than
104
104
  * @VIPS_OPERATION_ROUND_CEIL: the smallest integral value not less than
105
105
  *
106
- * See also: vips_round().
106
+ * See also: [method@Image.round].
107
107
  */
108
108
  typedef enum {
109
109
  VIPS_OPERATION_ROUND_RINT,
@@ -114,14 +114,14 @@ typedef enum {
114
114
 
115
115
  /**
116
116
  * VipsOperationRelational:
117
- * @VIPS_OPERATION_RELATIONAL_EQUAL: ==
118
- * @VIPS_OPERATION_RELATIONAL_NOTEQ: !=
119
- * @VIPS_OPERATION_RELATIONAL_LESS: <
120
- * @VIPS_OPERATION_RELATIONAL_LESSEQ: <=
121
- * @VIPS_OPERATION_RELATIONAL_MORE: >
122
- * @VIPS_OPERATION_RELATIONAL_MOREEQ: >=
117
+ * @VIPS_OPERATION_RELATIONAL_EQUAL: `==`
118
+ * @VIPS_OPERATION_RELATIONAL_NOTEQ: `!=`
119
+ * @VIPS_OPERATION_RELATIONAL_LESS: `<`
120
+ * @VIPS_OPERATION_RELATIONAL_LESSEQ: `<=`
121
+ * @VIPS_OPERATION_RELATIONAL_MORE: `>`
122
+ * @VIPS_OPERATION_RELATIONAL_MOREEQ: `>=`
123
123
  *
124
- * See also: vips_relational().
124
+ * See also: [method@Image.relational].
125
125
  */
126
126
  typedef enum {
127
127
  VIPS_OPERATION_RELATIONAL_EQUAL,
@@ -135,13 +135,13 @@ typedef enum {
135
135
 
136
136
  /**
137
137
  * VipsOperationBoolean:
138
- * @VIPS_OPERATION_BOOLEAN_AND: &
139
- * @VIPS_OPERATION_BOOLEAN_OR: |
140
- * @VIPS_OPERATION_BOOLEAN_EOR: ^
141
- * @VIPS_OPERATION_BOOLEAN_LSHIFT: >>
142
- * @VIPS_OPERATION_BOOLEAN_RSHIFT: <<
138
+ * @VIPS_OPERATION_BOOLEAN_AND: `&`
139
+ * @VIPS_OPERATION_BOOLEAN_OR: `|`
140
+ * @VIPS_OPERATION_BOOLEAN_EOR: `^`
141
+ * @VIPS_OPERATION_BOOLEAN_LSHIFT: `>>`
142
+ * @VIPS_OPERATION_BOOLEAN_RSHIFT: `<<`
143
143
  *
144
- * See also: vips_boolean().
144
+ * See also: [method@Image.boolean].
145
145
  */
146
146
  typedef enum {
147
147
  VIPS_OPERATION_BOOLEAN_AND,
@@ -158,7 +158,7 @@ typedef enum {
158
158
  * @VIPS_OPERATION_COMPLEX_RECT: convert to rectangular coordinates
159
159
  * @VIPS_OPERATION_COMPLEX_CONJ: complex conjugate
160
160
  *
161
- * See also: vips_complex().
161
+ * See also: [method@Image.complex].
162
162
  */
163
163
  typedef enum {
164
164
  VIPS_OPERATION_COMPLEX_POLAR,
@@ -171,7 +171,7 @@ typedef enum {
171
171
  * VipsOperationComplex2:
172
172
  * @VIPS_OPERATION_COMPLEX2_CROSS_PHASE: convert to polar coordinates
173
173
  *
174
- * See also: vips_complex2().
174
+ * See also: [method@Image.complex2].
175
175
  */
176
176
  typedef enum {
177
177
  VIPS_OPERATION_COMPLEX2_CROSS_PHASE,
@@ -183,7 +183,7 @@ typedef enum {
183
183
  * @VIPS_OPERATION_COMPLEXGET_REAL: get real component
184
184
  * @VIPS_OPERATION_COMPLEXGET_IMAG: get imaginary component
185
185
  *
186
- * See also: vips_complexget().
186
+ * See also: [method@Image.complexget].
187
187
  */
188
188
  typedef enum {
189
189
  VIPS_OPERATION_COMPLEXGET_REAL,
@@ -100,6 +100,8 @@ typedef enum {
100
100
  VIPS_PRECISION_LAST
101
101
  } VipsPrecision;
102
102
 
103
+ #ifndef __GI_SCANNER__
104
+
103
105
  /* Just for testing.
104
106
  */
105
107
  VIPS_API
@@ -107,6 +109,8 @@ char *vips_path_filename7(const char *path);
107
109
  VIPS_API
108
110
  char *vips_path_mode7(const char *path);
109
111
 
112
+ #endif /* !__GI_SCANNER__ */
113
+
110
114
  struct _VipsImage;
111
115
  typedef struct _VipsImage VipsImage;
112
116
  struct _VipsRegion;
@@ -39,11 +39,6 @@
39
39
  extern "C" {
40
40
  #endif /*__cplusplus*/
41
41
 
42
- /* A string in the process of being written to ... multiple calls to
43
- * vips_buf_append add to it. On overflow append "..." and block further
44
- * writes.
45
- */
46
-
47
42
  struct _VipsBuf {
48
43
  /* All fields are private.
49
44
  */
@@ -149,12 +149,6 @@ VIPS_API
149
149
  int vips_Lab2LCh(VipsImage *in, VipsImage **out, ...)
150
150
  G_GNUC_NULL_TERMINATED;
151
151
  VIPS_API
152
- int vips_Yxy2Lab(VipsImage *in, VipsImage **out, ...)
153
- G_GNUC_NULL_TERMINATED;
154
- VIPS_API
155
- int vips_CMC2XYZ(VipsImage *in, VipsImage **out, ...)
156
- G_GNUC_NULL_TERMINATED;
157
- VIPS_API
158
152
  int vips_Lab2XYZ(VipsImage *in, VipsImage **out, ...)
159
153
  G_GNUC_NULL_TERMINATED;
160
154
  VIPS_API