@revizly/sharp-libvips-dev 1.0.56 → 1.0.57
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.
- package/cplusplus/VImage.cpp +15 -0
- package/cplusplus/vips-operators.cpp +101 -0
- package/include/archive.h +4 -2
- package/include/archive_entry.h +1 -1
- package/include/expat.h +3 -2
- package/include/expat_config.h +3 -3
- package/include/expat_external.h +1 -1
- package/include/fribidi/fribidi-config.h +2 -2
- package/include/harfbuzz/hb-buffer.h +15 -0
- package/include/harfbuzz/hb-ot-metrics.h +1 -1
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/lcms2.h +6 -4
- package/include/lcms2_plugin.h +30 -0
- package/include/libheif/heif_cxx.h +24 -2
- package/include/libheif/heif_image.h +4 -2
- package/include/libheif/heif_metadata.h +4 -2
- package/include/libheif/heif_sequences.h +1 -0
- package/include/libheif/heif_text.h +1 -1
- package/include/libheif/heif_version.h +2 -2
- package/include/vips/VImage8.h +207 -3
- package/include/vips/arithmetic.h +2 -2
- package/include/vips/colour.h +71 -2
- package/include/vips/conversion.h +6 -1
- package/include/vips/enumtypes.h +9 -0
- package/include/vips/error.h +2 -0
- package/include/vips/foreign.h +19 -0
- package/include/vips/header.h +17 -0
- package/include/vips/histogram.h +3 -0
- package/include/vips/image.h +3 -1
- package/include/vips/memory.h +1 -0
- package/include/vips/region.h +3 -0
- package/include/vips/threadpool.h +3 -3
- package/include/vips/util.h +28 -0
- package/include/vips/version.h +8 -8
- package/include/vips/vips.h +5 -0
- package/package.json +1 -1
- package/versions.json +8 -8
package/include/vips/util.h
CHANGED
|
@@ -64,6 +64,34 @@ extern "C" {
|
|
|
64
64
|
#define VIPS_ABS(V) (((V) >= 0) ? (V) : -(V))
|
|
65
65
|
#define VIPS_FABS(V) fabs((V)) VIPS_DEPRECATED_MACRO_FOR(fabs)
|
|
66
66
|
|
|
67
|
+
/* Inline fast paths for small memcpy() operations.
|
|
68
|
+
*
|
|
69
|
+
* N must not have side effects (e.g. N++).
|
|
70
|
+
*/
|
|
71
|
+
#ifdef __OPTIMIZE__
|
|
72
|
+
#define VIPS_MEMCPY(Q, P, N) \
|
|
73
|
+
G_STMT_START \
|
|
74
|
+
{ \
|
|
75
|
+
switch (N) { \
|
|
76
|
+
case 8: memcpy((Q), (P), 8); break; \
|
|
77
|
+
case 7: memcpy((Q), (P), 7); break; \
|
|
78
|
+
case 6: memcpy((Q), (P), 6); break; \
|
|
79
|
+
case 5: memcpy((Q), (P), 5); break; \
|
|
80
|
+
case 4: memcpy((Q), (P), 4); break; \
|
|
81
|
+
case 3: memcpy((Q), (P), 3); break; \
|
|
82
|
+
case 2: memcpy((Q), (P), 2); break; \
|
|
83
|
+
case 1: memcpy((Q), (P), 1); break; \
|
|
84
|
+
case 0: break; \
|
|
85
|
+
default: memcpy((Q), (P), (N)); break; \
|
|
86
|
+
} \
|
|
87
|
+
} \
|
|
88
|
+
G_STMT_END
|
|
89
|
+
#else
|
|
90
|
+
/* Unoptimized version: always call the memcpy() function.
|
|
91
|
+
*/
|
|
92
|
+
#define VIPS_MEMCPY(Q, P, N) memcpy((Q), (P), (N))
|
|
93
|
+
#endif
|
|
94
|
+
|
|
67
95
|
// is something (eg. a pointer) N aligned
|
|
68
96
|
#define VIPS_ALIGNED(P, N) ((((guint64) (P)) & ((N) - 1)) == 0)
|
|
69
97
|
|
package/include/vips/version.h
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
#ifndef VIPS_VERSION_H
|
|
5
5
|
#define VIPS_VERSION_H
|
|
6
6
|
|
|
7
|
-
#define VIPS_VERSION "8.
|
|
8
|
-
#define VIPS_VERSION_STRING "8.
|
|
7
|
+
#define VIPS_VERSION "8.19.0"
|
|
8
|
+
#define VIPS_VERSION_STRING "8.19.0"
|
|
9
9
|
#define VIPS_MAJOR_VERSION (8)
|
|
10
|
-
#define VIPS_MINOR_VERSION (
|
|
11
|
-
#define VIPS_MICRO_VERSION (
|
|
10
|
+
#define VIPS_MINOR_VERSION (19)
|
|
11
|
+
#define VIPS_MICRO_VERSION (0)
|
|
12
12
|
|
|
13
13
|
/* The ABI version, as used for library versioning.
|
|
14
14
|
*/
|
|
15
|
-
#define VIPS_LIBRARY_CURRENT (
|
|
16
|
-
#define VIPS_LIBRARY_REVISION (
|
|
17
|
-
#define VIPS_LIBRARY_AGE (
|
|
15
|
+
#define VIPS_LIBRARY_CURRENT (63)
|
|
16
|
+
#define VIPS_LIBRARY_REVISION (0)
|
|
17
|
+
#define VIPS_LIBRARY_AGE (21)
|
|
18
18
|
|
|
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\nUHDR load/save with libuhdr: true\nJXL load/save with libjxl: true (dynamic module: false)\nJPEG2000 load/save with OpenJPEG: false\nPNG load/save with libpng: 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\nRAW load with libraw: false\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 QOI load/save: true\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\nUHDR load/save with libuhdr: true\nJXL load/save with libjxl: true (dynamic module: false)\nJPEG2000 load/save with OpenJPEG: false\nPNG load/save with libpng: 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\nRAW load with libraw: false\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.
|
package/include/vips/vips.h
CHANGED
|
@@ -182,6 +182,11 @@ void vips_add_option_entries(GOptionGroup *option_group);
|
|
|
182
182
|
VIPS_API
|
|
183
183
|
void vips_leak_set(gboolean leak);
|
|
184
184
|
|
|
185
|
+
VIPS_API
|
|
186
|
+
void vips_unlimited_set(gboolean unlimited);
|
|
187
|
+
VIPS_API
|
|
188
|
+
gboolean vips_unlimited_get(void);
|
|
189
|
+
|
|
185
190
|
VIPS_API
|
|
186
191
|
void vips_block_untrusted_set(gboolean state);
|
|
187
192
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revizly/sharp-libvips-dev",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
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,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
"aom": "3.15.
|
|
3
|
-
"archive": "3.8.
|
|
2
|
+
"aom": "3.15.3",
|
|
3
|
+
"archive": "3.8.11",
|
|
4
4
|
"brotli": "1.2.1",
|
|
5
5
|
"cairo": "1.18.6",
|
|
6
6
|
"cgif": "0.5.4",
|
|
7
7
|
"de265": "1.1.3",
|
|
8
8
|
"exif": "0.6.26",
|
|
9
|
-
"expat": "2.
|
|
9
|
+
"expat": "2.10.0",
|
|
10
10
|
"ffi": "3.8.0",
|
|
11
11
|
"fontconfig": "2.18.3",
|
|
12
12
|
"freetype": "2.15.0",
|
|
13
|
-
"fribidi": "1.0.
|
|
13
|
+
"fribidi": "1.0.18",
|
|
14
14
|
"glib": "2.90.1",
|
|
15
|
-
"harfbuzz": "15.
|
|
16
|
-
"heif": "1.23.
|
|
15
|
+
"harfbuzz": "15.1.0",
|
|
16
|
+
"heif": "1.23.7",
|
|
17
17
|
"highway": "1.4.0",
|
|
18
18
|
"imagequant": "2.4.1",
|
|
19
19
|
"jxl": "0.12.0",
|
|
20
|
-
"lcms": "2.
|
|
20
|
+
"lcms": "2.20",
|
|
21
21
|
"mozjpeg": "0826579",
|
|
22
22
|
"pango": "1.58.2",
|
|
23
23
|
"pixman": "0.46.4",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"svt-av1": "pgo-build-2026-09-29-a46bc2d",
|
|
28
28
|
"tiff": "4.7.2",
|
|
29
29
|
"uhdr": "2.0.2",
|
|
30
|
-
"vips": "8.
|
|
30
|
+
"vips": "8.19.0-rc1",
|
|
31
31
|
"webp": "1.6.0",
|
|
32
32
|
"xml2": "2.15.4",
|
|
33
33
|
"zlib-ng": "2.3.3"
|