@revizly/sharp-libvips-dev 1.0.19 → 1.0.21

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 (150) 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 +12 -2
  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/girepository.h +3 -0
  10. package/include/glib-2.0/girepository/gitypes.h +6 -0
  11. package/include/glib-2.0/glib/gbitlock.h +11 -0
  12. package/include/glib-2.0/glib/gdate.h +6 -0
  13. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  14. package/include/glib-2.0/glib/gmain.h +13 -10
  15. package/include/glib-2.0/glib/gmarkup.h +4 -0
  16. package/include/glib-2.0/glib/gmessages.h +4 -1
  17. package/include/glib-2.0/glib/gstring.h +2 -0
  18. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  19. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  20. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  21. package/include/harfbuzz/hb-deprecated.h +4 -4
  22. package/include/harfbuzz/hb-font.h +120 -9
  23. package/include/harfbuzz/hb-version.h +3 -3
  24. package/include/hwy/abort.h +2 -19
  25. package/include/hwy/aligned_allocator.h +11 -7
  26. package/include/hwy/auto_tune.h +504 -0
  27. package/include/hwy/base.h +425 -104
  28. package/include/hwy/cache_control.h +16 -0
  29. package/include/hwy/detect_compiler_arch.h +32 -1
  30. package/include/hwy/detect_targets.h +251 -67
  31. package/include/hwy/foreach_target.h +35 -0
  32. package/include/hwy/highway.h +185 -76
  33. package/include/hwy/nanobenchmark.h +1 -19
  34. package/include/hwy/ops/arm_neon-inl.h +969 -458
  35. package/include/hwy/ops/arm_sve-inl.h +1137 -359
  36. package/include/hwy/ops/emu128-inl.h +97 -11
  37. package/include/hwy/ops/generic_ops-inl.h +1222 -34
  38. package/include/hwy/ops/loongarch_lasx-inl.h +4664 -0
  39. package/include/hwy/ops/loongarch_lsx-inl.h +5933 -0
  40. package/include/hwy/ops/ppc_vsx-inl.h +306 -126
  41. package/include/hwy/ops/rvv-inl.h +546 -51
  42. package/include/hwy/ops/scalar-inl.h +77 -22
  43. package/include/hwy/ops/set_macros-inl.h +133 -17
  44. package/include/hwy/ops/shared-inl.h +50 -10
  45. package/include/hwy/ops/wasm_128-inl.h +137 -92
  46. package/include/hwy/ops/x86_128-inl.h +773 -214
  47. package/include/hwy/ops/x86_256-inl.h +712 -255
  48. package/include/hwy/ops/x86_512-inl.h +429 -753
  49. package/include/hwy/ops/x86_avx3-inl.h +501 -0
  50. package/include/hwy/per_target.h +2 -1
  51. package/include/hwy/profiler.h +622 -486
  52. package/include/hwy/targets.h +62 -20
  53. package/include/hwy/timer-inl.h +8 -160
  54. package/include/hwy/timer.h +170 -3
  55. package/include/hwy/x86_cpuid.h +81 -0
  56. package/include/libheif/heif.h +16 -2603
  57. package/include/libheif/heif_aux_images.h +182 -0
  58. package/include/libheif/heif_brands.h +373 -0
  59. package/include/libheif/heif_color.h +357 -0
  60. package/include/libheif/heif_context.h +329 -0
  61. package/include/libheif/heif_cxx.h +21 -1
  62. package/include/libheif/heif_decoding.h +162 -0
  63. package/include/libheif/heif_encoding.h +391 -0
  64. package/include/libheif/heif_entity_groups.h +60 -0
  65. package/include/libheif/heif_error.h +302 -0
  66. package/include/libheif/heif_image.h +352 -0
  67. package/include/libheif/heif_image_handle.h +120 -0
  68. package/include/libheif/heif_items.h +45 -45
  69. package/include/libheif/heif_library.h +216 -0
  70. package/include/libheif/heif_metadata.h +133 -0
  71. package/include/libheif/heif_plugin.h +53 -41
  72. package/include/libheif/heif_properties.h +73 -36
  73. package/include/libheif/heif_regions.h +100 -100
  74. package/include/libheif/heif_security.h +102 -0
  75. package/include/libheif/heif_sequences.h +577 -0
  76. package/include/libheif/heif_tai_timestamps.h +202 -0
  77. package/include/libheif/heif_tiling.h +137 -0
  78. package/include/libheif/heif_uncompressed.h +109 -0
  79. package/include/libheif/heif_version.h +2 -2
  80. package/include/libpng16/png.h +35 -16
  81. package/include/libpng16/pngconf.h +1 -1
  82. package/include/libpng16/pnglibconf.h +1 -1
  83. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  84. package/include/libxml2/libxml/HTMLparser.h +2 -2
  85. package/include/libxml2/libxml/parser.h +4 -2
  86. package/include/libxml2/libxml/xmlIO.h +2 -2
  87. package/include/libxml2/libxml/xmlerror.h +2 -1
  88. package/include/libxml2/libxml/xmlversion.h +4 -4
  89. package/include/pango-1.0/pango/pango-attributes.h +1 -1
  90. package/include/pango-1.0/pango/pango-features.h +2 -2
  91. package/include/pixman-1/pixman-version.h +2 -2
  92. package/include/pixman-1/pixman.h +11 -0
  93. package/include/png.h +35 -16
  94. package/include/pngconf.h +1 -1
  95. package/include/pnglibconf.h +1 -1
  96. package/include/vips/VImage8.h +59 -14
  97. package/include/vips/arithmetic.h +34 -34
  98. package/include/vips/basic.h +4 -0
  99. package/include/vips/buf.h +0 -5
  100. package/include/vips/colour.h +0 -6
  101. package/include/vips/connection.h +25 -37
  102. package/include/vips/enumtypes.h +11 -2
  103. package/include/vips/foreign.h +71 -43
  104. package/include/vips/format.h +5 -5
  105. package/include/vips/gate.h +0 -11
  106. package/include/vips/header.h +11 -11
  107. package/include/vips/image.h +7 -2
  108. package/include/vips/interpolate.h +0 -2
  109. package/include/vips/memory.h +4 -0
  110. package/include/vips/object.h +14 -18
  111. package/include/vips/operation.h +0 -2
  112. package/include/vips/private.h +50 -0
  113. package/include/vips/region.h +0 -2
  114. package/include/vips/thread.h +1 -9
  115. package/include/vips/threadpool.h +0 -6
  116. package/include/vips/type.h +12 -8
  117. package/include/vips/util.h +5 -73
  118. package/include/vips/vector.h +0 -4
  119. package/include/vips/version.h +5 -5
  120. package/include/webp/decode.h +11 -2
  121. package/include/webp/demux.h +2 -0
  122. package/include/webp/encode.h +2 -0
  123. package/include/webp/mux_types.h +1 -0
  124. package/include/webp/sharpyuv/sharpyuv.h +1 -1
  125. package/include/webp/types.h +2 -2
  126. package/include/zlib.h +3 -3
  127. package/package.json +1 -1
  128. package/versions.json +15 -15
  129. package/include/cpuinfo.h +0 -2319
  130. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +0 -221
  131. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +0 -37
  132. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +0 -525
  133. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +0 -40
  134. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +0 -115
  135. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +0 -481
  136. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +0 -113
  137. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +0 -718
  138. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +0 -33
  139. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +0 -70
  140. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +0 -168
  141. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +0 -46
  142. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +0 -165
  143. package/include/harfbuzz/hb-subset-repacker.h +0 -81
  144. package/include/hwy/ops/tuple-inl.h +0 -125
  145. package/include/svt-av1/EbDebugMacros.h +0 -83
  146. package/include/svt-av1/EbSvtAv1.h +0 -432
  147. package/include/svt-av1/EbSvtAv1Enc.h +0 -1067
  148. package/include/svt-av1/EbSvtAv1ErrorCodes.h +0 -67
  149. package/include/svt-av1/EbSvtAv1Formats.h +0 -126
  150. package/include/svt-av1/EbSvtAv1Metadata.h +0 -156
@@ -100,8 +100,6 @@ typedef struct _VipsOperationClass {
100
100
  void (*invalidate)(VipsOperation *operation);
101
101
  } VipsOperationClass;
102
102
 
103
- /* Don't put spaces around void here, it breaks gtk-doc.
104
- */
105
103
  VIPS_API
106
104
  GType vips_operation_get_type(void);
107
105
 
@@ -40,6 +40,8 @@
40
40
  extern "C" {
41
41
  #endif /*__cplusplus*/
42
42
 
43
+ #include <stdio.h>
44
+
43
45
  #define VIPS_SPARE (8)
44
46
 
45
47
  /* Private to iofuncs: the minimum number of scanlines we add above and below
@@ -225,6 +227,54 @@ void VipsArrayDouble_unref(VipsArrayDouble *array);
225
227
  VIPS_API
226
228
  void VipsArrayImage_unref(VipsArrayImage *array);
227
229
 
230
+ extern gboolean vips__thread_profile;
231
+
232
+ void vips__thread_gate_start(const char *gate_name);
233
+ void vips__thread_gate_stop(const char *gate_name);
234
+
235
+ void vips__thread_malloc_free(gint64 size);
236
+
237
+ FILE *vips__file_open_read(const char *filename,
238
+ const char *fallback_dir, gboolean text_mode);
239
+ FILE *vips__file_open_write(const char *filename,
240
+ gboolean text_mode);
241
+
242
+ /* TODO(kleisauke): VIPS_API is required by vipsedit.
243
+ */
244
+ VIPS_API
245
+ int vips__write(int fd, const void *buf, size_t count);
246
+
247
+ /* TODO(kleisauke): VIPS_API is required by test_connections.
248
+ */
249
+ VIPS_API
250
+ int vips__open(const char *filename, int flags, int mode);
251
+
252
+ /* TODO(kleisauke): VIPS_API is required by vipsedit.
253
+ */
254
+ VIPS_API
255
+ char *vips__file_read(FILE *fp, const char *name, size_t *length_out);
256
+
257
+ /* TODO(kleisauke): VIPS_API is required by the magick module.
258
+ */
259
+ VIPS_API
260
+ gint64 vips__get_bytes(const char *filename, unsigned char buf[], gint64 len);
261
+
262
+ /* TODO(kleisauke): VIPS_API is required by vipsedit.
263
+ */
264
+ VIPS_API
265
+ gint64 vips__seek(int fd, gint64 pos, int whence);
266
+
267
+ /* TODO(kleisauke): VIPS_API is required by libvips-cpp and vipsheader.
268
+ */
269
+ VIPS_API
270
+ void vips__filename_split8(const char *name,
271
+ char *filename, char *option_string);
272
+
273
+ /* TODO(kleisauke): VIPS_API is required by jpegsave_file_fuzzer.
274
+ */
275
+ VIPS_API
276
+ char *vips__temp_name(const char *format);
277
+
228
278
  #ifdef __cplusplus
229
279
  }
230
280
  #endif /*__cplusplus*/
@@ -128,8 +128,6 @@ typedef struct _VipsRegionClass {
128
128
 
129
129
  } VipsRegionClass;
130
130
 
131
- /* Don't put spaces around void here, it breaks gtk-doc.
132
- */
133
131
  VIPS_API
134
132
  GType vips_region_get_type(void);
135
133
 
@@ -36,10 +36,8 @@
36
36
  extern "C" {
37
37
  #endif /*__cplusplus*/
38
38
 
39
- /* Wrapper for g_thread_try_new().
40
- */
41
39
  VIPS_API
42
- GThread *vips_g_thread_new(const char *, GThreadFunc, gpointer);
40
+ GThread *vips_g_thread_new(const char *domain, GThreadFunc func, gpointer data);
43
41
 
44
42
  VIPS_API
45
43
  gboolean vips_thread_isvips(void);
@@ -47,12 +45,6 @@ gboolean vips_thread_isvips(void);
47
45
  VIPS_API
48
46
  int vips_thread_execute(const char *domain, GFunc func, gpointer data);
49
47
 
50
- typedef struct _VipsThreadset VipsThreadset;
51
- VipsThreadset *vips_threadset_new(int max_threads);
52
- int vips_threadset_run(VipsThreadset *set,
53
- const char *domain, GFunc func, gpointer data);
54
- void vips_threadset_free(VipsThreadset *set);
55
-
56
48
  #ifdef __cplusplus
57
49
  }
58
50
  #endif /*__cplusplus*/
@@ -51,10 +51,6 @@
51
51
  extern "C" {
52
52
  #endif /*__cplusplus*/
53
53
 
54
- /* Per-thread state. Allocate functions can use these members to
55
- * communicate with work functions.
56
- */
57
-
58
54
  #define VIPS_TYPE_THREAD_STATE (vips_thread_state_get_type())
59
55
  #define VIPS_THREAD_STATE(obj) \
60
56
  (G_TYPE_CHECK_INSTANCE_CAST((obj), \
@@ -112,8 +108,6 @@ typedef struct _VipsThreadStateClass {
112
108
  VIPS_API
113
109
  void *vips_thread_state_set(VipsObject *object, void *a, void *b);
114
110
 
115
- /* Don't put spaces around void here, it breaks gtk-doc.
116
- */
117
111
  VIPS_API
118
112
  GType vips_thread_state_get_type(void);
119
113
 
@@ -38,6 +38,8 @@
38
38
  extern "C" {
39
39
  #endif /*__cplusplus*/
40
40
 
41
+ #ifndef __GI_SCANNER__
42
+
41
43
  /* A very simple boxed type for testing. Just holds an int.
42
44
  */
43
45
  typedef struct _VipsThing {
@@ -47,7 +49,7 @@ typedef struct _VipsThing {
47
49
  /**
48
50
  * VIPS_TYPE_THING:
49
51
  *
50
- * The #GType for a #VipsThing.
52
+ * The [alias@GObject.Type] for a #VipsThing.
51
53
  */
52
54
  #define VIPS_TYPE_THING (vips_thing_get_type())
53
55
  VIPS_API
@@ -55,6 +57,8 @@ GType vips_thing_get_type(void);
55
57
  VIPS_API
56
58
  VipsThing *vips_thing_new(int i);
57
59
 
60
+ #endif /* !__GI_SCANNER__ */
61
+
58
62
  /* A ref-counted area of memory. Can hold arrays of things as well.
59
63
  */
60
64
  typedef struct _VipsArea {
@@ -131,7 +135,7 @@ void *vips_area_get_data(VipsArea *area,
131
135
  /**
132
136
  * VIPS_TYPE_AREA:
133
137
  *
134
- * The #GType for a #VipsArea.
138
+ * The [alias@GObject.Type] for a [struct@Area].
135
139
  */
136
140
  #define VIPS_TYPE_AREA (vips_area_get_type())
137
141
  #define VIPS_AREA(X) ((VipsArea *) (X))
@@ -141,7 +145,7 @@ GType vips_area_get_type(void);
141
145
  /**
142
146
  * VIPS_TYPE_SAVE_STRING:
143
147
  *
144
- * The #GType for a #VipsSaveString.
148
+ * The [alias@GObject.Type] for a [struct@SaveString].
145
149
  */
146
150
  #define VIPS_TYPE_SAVE_STRING (vips_save_string_get_type())
147
151
  VIPS_API
@@ -154,7 +158,7 @@ typedef struct _VipsSaveString {
154
158
  /**
155
159
  * VIPS_TYPE_REF_STRING:
156
160
  *
157
- * The #GType for a #VipsRefString.
161
+ * The [alias@GObject.Type] for a [struct@RefString].
158
162
  */
159
163
  #define VIPS_TYPE_REF_STRING (vips_ref_string_get_type())
160
164
 
@@ -172,7 +176,7 @@ GType vips_ref_string_get_type(void);
172
176
  /**
173
177
  * VIPS_TYPE_BLOB:
174
178
  *
175
- * The %GType for a #VipsBlob.
179
+ * The [alias@GObject.Type] for a [struct@Blob].
176
180
  */
177
181
  #define VIPS_TYPE_BLOB (vips_blob_get_type())
178
182
 
@@ -196,7 +200,7 @@ GType vips_blob_get_type(void);
196
200
  /**
197
201
  * VIPS_TYPE_ARRAY_DOUBLE:
198
202
  *
199
- * The #GType for a #VipsArrayDouble.
203
+ * The [alias@GObject.Type] for a [struct@ArrayDouble].
200
204
  */
201
205
  #define VIPS_TYPE_ARRAY_DOUBLE (vips_array_double_get_type())
202
206
 
@@ -216,7 +220,7 @@ GType vips_array_double_get_type(void);
216
220
  /**
217
221
  * VIPS_TYPE_ARRAY_INT:
218
222
  *
219
- * The #GType for a #VipsArrayInt.
223
+ * The [alias@GObject.Type] for a [struct@ArrayInt].
220
224
  */
221
225
  #define VIPS_TYPE_ARRAY_INT (vips_array_int_get_type())
222
226
 
@@ -236,7 +240,7 @@ GType vips_array_int_get_type(void);
236
240
  /**
237
241
  * VIPS_TYPE_ARRAY_IMAGE:
238
242
  *
239
- * The #GType for a #VipsArrayImage.
243
+ * The [alias@GObject.Type] for a [struct@ArrayImage].
240
244
  */
241
245
  #define VIPS_TYPE_ARRAY_IMAGE (vips_array_image_get_type())
242
246
 
@@ -39,7 +39,6 @@
39
39
  extern "C" {
40
40
  #endif /*__cplusplus*/
41
41
 
42
- #include <stdio.h>
43
42
  #include <math.h>
44
43
 
45
44
  /* Some platforms don't have M_PI :-(
@@ -285,47 +284,7 @@ int vips_filename_suffix_match(const char *path, const char *suffixes[]);
285
284
 
286
285
  VIPS_API
287
286
  gint64 vips_file_length(int fd);
288
- /* TODO(kleisauke): VIPS_API is required by vipsedit.
289
- */
290
- VIPS_API
291
- int vips__write(int fd, const void *buf, size_t count);
292
-
293
- /* TODO(kleisauke): VIPS_API is required by test_connections.
294
- */
295
- VIPS_API
296
- int vips__open(const char *filename, int flags, int mode);
297
- int vips__open_read(const char *filename);
298
- FILE *vips__fopen(const char *filename, const char *mode);
299
-
300
- FILE *vips__file_open_read(const char *filename,
301
- const char *fallback_dir, gboolean text_mode);
302
- FILE *vips__file_open_write(const char *filename,
303
- gboolean text_mode);
304
- /* TODO(kleisauke): VIPS_API is required by vipsedit.
305
- */
306
- VIPS_API
307
- char *vips__file_read(FILE *fp, const char *name, size_t *length_out);
308
- char *vips__file_read_name(const char *name, const char *fallback_dir,
309
- size_t *length_out);
310
- int vips__file_write(void *data, size_t size, size_t nmemb, FILE *stream);
311
- /* TODO(kleisauke): VIPS_API is required by the magick module.
312
- */
313
- VIPS_API
314
- gint64 vips__get_bytes(const char *filename, unsigned char buf[], gint64 len);
315
- int vips__fgetc(FILE *fp);
316
287
 
317
- GValue *vips__gvalue_ref_string_new(const char *text);
318
- void vips__gslist_gvalue_free(GSList *list);
319
- GSList *vips__gslist_gvalue_copy(const GSList *list);
320
- GSList *vips__gslist_gvalue_merge(GSList *a, const GSList *b);
321
- char *vips__gslist_gvalue_get(const GSList *list);
322
-
323
- gint64 vips__seek_no_error(int fd, gint64 pos, int whence);
324
- /* TODO(kleisauke): VIPS_API is required by vipsedit.
325
- */
326
- VIPS_API
327
- gint64 vips__seek(int fd, gint64 pos, int whence);
328
- int vips__ftruncate(int fd, gint64 pos);
329
288
  VIPS_API
330
289
  int vips_existsf(const char *name, ...)
331
290
  G_GNUC_PRINTF(1, 2);
@@ -342,7 +301,7 @@ VIPS_API
342
301
  int vips_rename(const char *old_name, const char *new_name);
343
302
 
344
303
  /**
345
- * VipsToken:
304
+ * VipsToken: (skip)
346
305
  * @VIPS_TOKEN_LEFT: left bracket
347
306
  * @VIPS_TOKEN_RIGHT: right bracket
348
307
  * @VIPS_TOKEN_STRING: string constant
@@ -356,7 +315,6 @@ int vips_rename(const char *old_name, const char *new_name);
356
315
  *
357
316
  * Strings may be in double quotes, and may contain escaped quote characters,
358
317
  * for example string, "string" and "str\"ing".
359
- *
360
318
  */
361
319
  typedef enum {
362
320
  VIPS_TOKEN_LEFT = 1,
@@ -366,49 +324,23 @@ typedef enum {
366
324
  VIPS_TOKEN_COMMA
367
325
  } VipsToken;
368
326
 
327
+ #ifndef __GI_SCANNER__
328
+
369
329
  // we expose this one in the API for testing
370
330
  VIPS_API
371
331
  const char *vips__token_get(const char *buffer,
372
332
  VipsToken *token, char *string, int size);
373
- const char *vips__token_must(const char *buffer, VipsToken *token,
374
- char *string, int size);
375
- const char *vips__token_need(const char *buffer, VipsToken need_token,
376
- char *string, int size);
377
- const char *vips__token_segment(const char *p, VipsToken *token,
378
- char *string, int size);
379
- const char *vips__token_segment_need(const char *p, VipsToken need_token,
380
- char *string, int size);
381
- const char *vips__find_rightmost_brackets(const char *p);
382
- /* TODO(kleisauke): VIPS_API is required by libvips-cpp and vipsheader.
383
- */
384
- VIPS_API
385
- void vips__filename_split8(const char *name,
386
- char *filename, char *option_string);
333
+
334
+ #endif /* !__GI_SCANNER__ */
387
335
 
388
336
  VIPS_API
389
337
  int vips_ispoweroftwo(int p);
390
338
  VIPS_API
391
339
  int vips_amiMSBfirst(void);
392
340
 
393
- /* TODO(kleisauke): VIPS_API is required by jpegsave_file_fuzzer.
394
- */
395
- VIPS_API
396
- char *vips__temp_name(const char *format);
397
-
398
- void vips__change_suffix(const char *name, char *out, int mx,
399
- const char *new_suff, const char **olds, int nolds);
400
-
401
341
  VIPS_API
402
342
  char *vips_realpath(const char *path);
403
343
 
404
- guint32 vips__random(guint32 seed);
405
- guint32 vips__random_add(guint32 seed, int value);
406
-
407
- const char *vips__icc_dir(void);
408
- const char *vips__windows_prefix(void);
409
-
410
- char *vips__get_iso8601(void);
411
-
412
344
  VIPS_API
413
345
  int vips_strtod(const char *str, double *out);
414
346
 
@@ -38,10 +38,6 @@
38
38
  extern "C" {
39
39
  #endif /*__cplusplus*/
40
40
 
41
- /* Set from the command-line.
42
- */
43
- extern gboolean vips__vector_enabled;
44
-
45
41
  VIPS_API
46
42
  gboolean vips_vector_isenabled(void);
47
43
  VIPS_API
@@ -4,19 +4,19 @@
4
4
  #ifndef VIPS_VERSION_H
5
5
  #define VIPS_VERSION_H
6
6
 
7
- #define VIPS_VERSION "8.17.0"
8
- #define VIPS_VERSION_STRING "8.17.0"
7
+ #define VIPS_VERSION "8.17.1"
8
+ #define VIPS_VERSION_STRING "8.17.1"
9
9
  #define VIPS_MAJOR_VERSION (8)
10
10
  #define VIPS_MINOR_VERSION (17)
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 (61)
16
- #define VIPS_LIBRARY_REVISION (0)
16
+ #define VIPS_LIBRARY_REVISION (1)
17
17
  #define VIPS_LIBRARY_AGE (19)
18
18
 
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)"
19
+ #define VIPS_CONFIG "enable debug: false\nenable deprecated: false\nenable modules: false\nenable C++ binding: 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
20
 
21
21
  /* Not really anything to do with versions, but this is a handy place to put
22
22
  * it.
@@ -14,13 +14,15 @@
14
14
  #ifndef WEBP_WEBP_DECODE_H_
15
15
  #define WEBP_WEBP_DECODE_H_
16
16
 
17
+ #include <stddef.h>
18
+
17
19
  #include "./types.h"
18
20
 
19
21
  #ifdef __cplusplus
20
22
  extern "C" {
21
23
  #endif
22
24
 
23
- #define WEBP_DECODER_ABI_VERSION 0x0209 // MAJOR(8b) + MINOR(8b)
25
+ #define WEBP_DECODER_ABI_VERSION 0x0210 // MAJOR(8b) + MINOR(8b)
24
26
 
25
27
  // Note: forward declaring enumerations is not allowed in (strict) C and C++,
26
28
  // the types are left here for reference.
@@ -451,7 +453,9 @@ struct WebPDecoderOptions {
451
453
  // Will be snapped to even values.
452
454
  int crop_width, crop_height; // dimension of the cropping area
453
455
  int use_scaling; // if true, scaling is applied _afterward_
454
- int scaled_width, scaled_height; // final resolution
456
+ int scaled_width, scaled_height; // final resolution. if one is 0, it is
457
+ // guessed from the other one to keep the
458
+ // original ratio.
455
459
  int use_threads; // if true, use multi-threaded decoding
456
460
  int dithering_strength; // dithering strength (0=Off, 100=full)
457
461
  int flip; // if true, flip output vertically
@@ -479,6 +483,11 @@ WEBP_NODISCARD static WEBP_INLINE int WebPInitDecoderConfig(
479
483
  return WebPInitDecoderConfigInternal(config, WEBP_DECODER_ABI_VERSION);
480
484
  }
481
485
 
486
+ // Returns true if 'config' is non-NULL and all configuration parameters are
487
+ // within their valid ranges.
488
+ WEBP_NODISCARD WEBP_EXTERN int WebPValidateDecoderConfig(
489
+ const WebPDecoderConfig* config);
490
+
482
491
  // Instantiate a new incremental decoder object with the requested
483
492
  // configuration. The bitstream can be passed using 'data' and 'data_size'
484
493
  // parameter, in which case the features will be parsed and stored into
@@ -48,6 +48,8 @@
48
48
  #ifndef WEBP_WEBP_DEMUX_H_
49
49
  #define WEBP_WEBP_DEMUX_H_
50
50
 
51
+ #include <stddef.h>
52
+
51
53
  #include "./decode.h" // for WEBP_CSP_MODE
52
54
  #include "./mux_types.h"
53
55
  #include "./types.h"
@@ -14,6 +14,8 @@
14
14
  #ifndef WEBP_WEBP_ENCODE_H_
15
15
  #define WEBP_WEBP_ENCODE_H_
16
16
 
17
+ #include <stddef.h>
18
+
17
19
  #include "./types.h"
18
20
 
19
21
  #ifdef __cplusplus
@@ -15,6 +15,7 @@
15
15
  #define WEBP_WEBP_MUX_TYPES_H_
16
16
 
17
17
  #include <string.h> // memset()
18
+
18
19
  #include "./types.h"
19
20
 
20
21
  #ifdef __cplusplus
@@ -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 1
55
+ #define SHARPYUV_VERSION_PATCH 2
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) \
@@ -14,10 +14,10 @@
14
14
  #ifndef WEBP_WEBP_TYPES_H_
15
15
  #define WEBP_WEBP_TYPES_H_
16
16
 
17
- #include <stddef.h> // for size_t
17
+ #include <stddef.h> // IWYU pragma: export for size_t
18
18
 
19
19
  #ifndef _MSC_VER
20
- #include <inttypes.h>
20
+ #include <inttypes.h> // IWYU pragma: export
21
21
  #if defined(__cplusplus) || !defined(__STRICT_ANSI__) || \
22
22
  (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
23
23
  #define WEBP_INLINE inline
package/include/zlib.h CHANGED
@@ -49,11 +49,11 @@
49
49
  extern "C" {
50
50
  #endif
51
51
 
52
- #define ZLIBNG_VERSION "2.2.4"
53
- #define ZLIBNG_VERNUM 0x020204F0L /* MMNNRRSM: major minor revision status modified */
52
+ #define ZLIBNG_VERSION "2.2.5"
53
+ #define ZLIBNG_VERNUM 0x020205F0L /* 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 4
56
+ #define ZLIBNG_VER_REVISION 5
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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revizly/sharp-libvips-dev",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
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,31 +1,31 @@
1
1
  {
2
2
  "aom": "3.12.1",
3
- "archive": "3.7.9",
3
+ "archive": "3.8.1",
4
4
  "cairo": "1.18.4",
5
5
  "cgif": "0.5.0",
6
6
  "de265": "1.0.16",
7
7
  "exif": "0.6.25",
8
8
  "expat": "2.7.1",
9
- "ffi": "3.4.8",
10
- "fontconfig": "2.16.2",
9
+ "ffi": "3.5.2",
10
+ "fontconfig": "2.17.1",
11
11
  "freetype": "2.13.3",
12
12
  "fribidi": "1.0.16",
13
- "glib": "2.84.1",
14
- "harfbuzz": "11.2.0",
15
- "heif": "1.19.8",
16
- "highway": "1.2.0",
13
+ "glib": "2.85.1",
14
+ "harfbuzz": "11.4.4",
15
+ "heif": "1.20.2",
16
+ "highway": "1.3.0",
17
17
  "imagequant": "2.4.1",
18
18
  "lcms": "2.17",
19
19
  "mozjpeg": "4.1.5",
20
- "pango": "1.56.3",
21
- "pixman": "0.46.0",
22
- "png": "1.6.48",
20
+ "pango": "1.56.4",
21
+ "pixman": "0.46.4",
22
+ "png": "1.6.50",
23
23
  "proxy-libintl": "0.4",
24
- "rsvg": "2.60.0",
24
+ "rsvg": "2.61.0",
25
25
  "spng": "0.7.4",
26
26
  "tiff": "4.7.0",
27
- "vips": "8.17.0-test4",
28
- "webp": "1.5.0",
29
- "xml": "2.14.2",
30
- "zlib-ng": "2.2.4"
27
+ "vips": "8.17.1",
28
+ "webp": "1.6.0",
29
+ "xml2": "2.14.5",
30
+ "zlib-ng": "2.2.5"
31
31
  }