@revizly/sharp-libvips-dev 1.0.49 → 1.0.51
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/README.md +1 -1
- package/include/expat.h +1 -1
- package/include/expat_config.h +3 -3
- package/include/glib-2.0/gio/giotypes.h +0 -1
- package/include/glib-2.0/gobject/gtype.h +1 -1
- package/include/libde265/de265-version.h +2 -2
- package/include/libde265/de265.h +27 -2
- package/include/libheif/heif_entity_groups.h +162 -1
- package/include/libheif/heif_items.h +68 -0
- package/include/libheif/heif_properties.h +2 -0
- package/include/libheif/heif_regions.h +12 -0
- package/include/libheif/heif_version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
- package/include/librsvg-2.0/librsvg/rsvg.h +1 -1
- package/include/libxml2/libxml/xmlversion.h +4 -4
- package/package.json +1 -1
- package/versions.json +8 -8
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ used under the terms of the following licenses:
|
|
|
10
10
|
| Library | Used under the terms of |
|
|
11
11
|
|---------------|-----------------------------------------------------------------------------------------------------------|
|
|
12
12
|
| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |
|
|
13
|
-
| cairo | Mozilla Public License
|
|
13
|
+
| cairo | Mozilla Public License 1.1 |
|
|
14
14
|
| cgif | MIT License |
|
|
15
15
|
| expat | MIT License |
|
|
16
16
|
| fontconfig | [fontconfig License](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |
|
package/include/expat.h
CHANGED
|
@@ -1096,7 +1096,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
|
|
|
1096
1096
|
*/
|
|
1097
1097
|
# define XML_MAJOR_VERSION 2
|
|
1098
1098
|
# define XML_MINOR_VERSION 8
|
|
1099
|
-
# define XML_MICRO_VERSION
|
|
1099
|
+
# define XML_MICRO_VERSION 4
|
|
1100
1100
|
|
|
1101
1101
|
# ifdef __cplusplus
|
|
1102
1102
|
}
|
package/include/expat_config.h
CHANGED
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
#define PACKAGE_NAME "expat"
|
|
84
84
|
|
|
85
85
|
/* Define to the full name and version of this package. */
|
|
86
|
-
#define PACKAGE_STRING "expat 2.8.
|
|
86
|
+
#define PACKAGE_STRING "expat 2.8.4"
|
|
87
87
|
|
|
88
88
|
/* Define to the one symbol short name of this package. */
|
|
89
89
|
#define PACKAGE_TARNAME "expat"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
#define PACKAGE_URL ""
|
|
93
93
|
|
|
94
94
|
/* Define to the version of this package. */
|
|
95
|
-
#define PACKAGE_VERSION "2.8.
|
|
95
|
+
#define PACKAGE_VERSION "2.8.4"
|
|
96
96
|
|
|
97
97
|
/* Define to 1 if all of the C89 standard headers exist (not just the ones
|
|
98
98
|
required in a freestanding environment). This macro is provided for
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
#define STDC_HEADERS 1
|
|
101
101
|
|
|
102
102
|
/* Version number of package */
|
|
103
|
-
#define VERSION "2.8.
|
|
103
|
+
#define VERSION "2.8.4"
|
|
104
104
|
|
|
105
105
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
106
106
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
@@ -50,7 +50,6 @@ typedef struct _GZlibDecompressor GZlibDecompressor;
|
|
|
50
50
|
|
|
51
51
|
typedef struct _GSimpleActionGroup GSimpleActionGroup;
|
|
52
52
|
typedef struct _GRemoteActionGroup GRemoteActionGroup;
|
|
53
|
-
typedef struct _GDBusActionGroup GDBusActionGroup;
|
|
54
53
|
typedef struct _GActionMap GActionMap;
|
|
55
54
|
typedef struct _GActionGroup GActionGroup;
|
|
56
55
|
typedef struct _GPropertyAction GPropertyAction;
|
|
@@ -2295,7 +2295,7 @@ static void type_name##_class_intern_init (gpointer klass) \
|
|
|
2295
2295
|
static void type_name##_init (TypeName *self); \
|
|
2296
2296
|
static void type_name##_class_init (TypeName##Class *klass); \
|
|
2297
2297
|
static GType type_name##_get_type_once (void); \
|
|
2298
|
-
static gpointer type_name##_parent_class = NULL; \
|
|
2298
|
+
G_GNUC_UNUSED static gpointer type_name##_parent_class = NULL; \
|
|
2299
2299
|
static gint TypeName##_private_offset; \
|
|
2300
2300
|
\
|
|
2301
2301
|
_G_DEFINE_TYPE_EXTENDED_CLASS_INIT(TypeName, type_name) \
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
#define LIBDE265_VERSION_H
|
|
29
29
|
|
|
30
30
|
/* Numeric representation of the version */
|
|
31
|
-
#define LIBDE265_NUMERIC_VERSION
|
|
31
|
+
#define LIBDE265_NUMERIC_VERSION 0x1010300
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBDE265_VERSION "1.1.
|
|
34
|
+
#define LIBDE265_VERSION "1.1.3"
|
|
35
35
|
|
|
36
36
|
#endif
|
package/include/libde265/de265.h
CHANGED
|
@@ -40,7 +40,8 @@ extern "C" {
|
|
|
40
40
|
#else
|
|
41
41
|
#define LIBDE265_API __declspec(dllimport)
|
|
42
42
|
#endif
|
|
43
|
-
#elif HAVE_VISIBILITY
|
|
43
|
+
#elif (defined(__GNUC__) || defined(__clang__)) && HAVE_VISIBILITY
|
|
44
|
+
// GCC-style visibility attributes
|
|
44
45
|
#ifdef LIBDE265_EXPORTS
|
|
45
46
|
#define LIBDE265_API __attribute__((__visibility__("default")))
|
|
46
47
|
#else
|
|
@@ -97,6 +98,7 @@ typedef enum {
|
|
|
97
98
|
DE265_ERROR_UNSPECIFIED_DECODING_ERROR=18,
|
|
98
99
|
DE265_ERROR_IMAGE_SIZE_EXCEEDS_SECURITY_LIMIT=19,
|
|
99
100
|
DE265_ERROR_NAL_SIZE_EXCEEDS_SECURITY_LIMIT=20,
|
|
101
|
+
DE265_ERROR_INVALID_ARGUMENT=21,
|
|
100
102
|
|
|
101
103
|
// --- errors that should become obsolete in later libde265 versions ---
|
|
102
104
|
|
|
@@ -143,7 +145,8 @@ typedef enum {
|
|
|
143
145
|
DE265_WARNING_INVALID_SLICE_HEADER_INDEX_ACCESS=1033,
|
|
144
146
|
DE265_WARNING_INVALID_TU_BLOCK_SPLIT=1034,
|
|
145
147
|
DE265_WARNING_RICE_PARAMETER_OUT_OF_RANGE=1035,
|
|
146
|
-
DE265_WARNING_MAX_NUMBER_OF_SEI_MESSAGES_EXCEEDED=1036
|
|
148
|
+
DE265_WARNING_MAX_NUMBER_OF_SEI_MESSAGES_EXCEEDED=1036,
|
|
149
|
+
DE265_WARNING_SLICE_SEGMENT_ADDRESS_NOT_INCREASING=1037
|
|
147
150
|
} de265_error;
|
|
148
151
|
|
|
149
152
|
LIBDE265_API const char* de265_get_error_text(de265_error err);
|
|
@@ -265,6 +268,9 @@ LIBDE265_API void de265_push_end_of_frame(de265_decoder_context*);
|
|
|
265
268
|
/* Push a complete NAL unit without startcode into the decoder. The data must still
|
|
266
269
|
contain all stuffing-bytes.
|
|
267
270
|
This function only pushes data into the decoder, nothing will be decoded.
|
|
271
|
+
The NAL unit must at least contain the two-byte NAL unit header. A shorter
|
|
272
|
+
(or negative) length is rejected with DE265_ERROR_INVALID_ARGUMENT and nothing
|
|
273
|
+
is pushed.
|
|
268
274
|
*/
|
|
269
275
|
LIBDE265_API de265_error de265_push_NAL(de265_decoder_context*, const void* data, int length,
|
|
270
276
|
de265_PTS pts, void* user_data);
|
|
@@ -346,6 +352,25 @@ typedef struct de265_image_spec
|
|
|
346
352
|
int visible_height; // convenience, height - crop_top - crop_bottom
|
|
347
353
|
} de265_image_spec;
|
|
348
354
|
|
|
355
|
+
/* Custom image buffer allocation.
|
|
356
|
+
|
|
357
|
+
get_buffer() has to provide the image planes by calling de265_set_image_plane()
|
|
358
|
+
for each of them. The buffers have to be large enough for the image described by
|
|
359
|
+
'spec', taking spec->alignment into account when computing the stride, plus at
|
|
360
|
+
least 16 trailing bytes beyond the last row. The SIMD code processes whole vectors
|
|
361
|
+
and may read up to a vector past the pixels it actually uses, so a plane allocated
|
|
362
|
+
with no slack is read out of bounds. Allocate the trailing bytes unconditionally;
|
|
363
|
+
whether they are touched depends on which SIMD paths libde265 was built with and
|
|
364
|
+
on the CPU it runs on.
|
|
365
|
+
|
|
366
|
+
The memory handed back has to be zero-initialized (or otherwise fully initialized).
|
|
367
|
+
libde265 does not clear buffers obtained from get_buffer(); only the built-in
|
|
368
|
+
allocator returned by de265_get_default_image_allocation_functions() clears them
|
|
369
|
+
itself. If an allocator returns uninitialized memory, any part of an image that the
|
|
370
|
+
decoder does not write -- for example a picture that a corrupted stream covers only
|
|
371
|
+
partially with slices -- shows up in the decoded output, exposing whatever the
|
|
372
|
+
application previously kept in that memory.
|
|
373
|
+
*/
|
|
349
374
|
typedef struct de265_image_allocation
|
|
350
375
|
{
|
|
351
376
|
int (*get_buffer)(de265_decoder_context* ctx, // first parameter deprecated
|
|
@@ -27,6 +27,165 @@ extern "C" {
|
|
|
27
27
|
|
|
28
28
|
#include "libheif/heif_library.h"
|
|
29
29
|
|
|
30
|
+
// Entity group type FourCCs.
|
|
31
|
+
// For the complete list of registered entity group types, see https://mp4ra.org/registered-types/entity-groups
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Alternatives.
|
|
35
|
+
*
|
|
36
|
+
* Alternative versions of the same content, listed in order of preference.
|
|
37
|
+
* Only one of them should be displayed.
|
|
38
|
+
*
|
|
39
|
+
* See ISO/IEC 14496-12:2026 Section 8.15.3.1.
|
|
40
|
+
*/
|
|
41
|
+
#define heif_entity_group_altr heif_fourcc('a','l','t','r')
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Multi-resolution pyramid.
|
|
45
|
+
*
|
|
46
|
+
* The same image at different resolutions, listed from lowest to highest resolution.
|
|
47
|
+
*
|
|
48
|
+
* See ISO/IEC 23008-12:2025/Amd. 1:2025 Section 6.8.12.
|
|
49
|
+
*/
|
|
50
|
+
#define heif_entity_group_pymd heif_fourcc('p','y','m','d')
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Timeline equivalence.
|
|
54
|
+
*
|
|
55
|
+
* Relates untimed image items to an equivalent position in the timeline of a track.
|
|
56
|
+
*
|
|
57
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.1.
|
|
58
|
+
*/
|
|
59
|
+
#define heif_entity_group_eqiv heif_fourcc('e','q','i','v')
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Image burst.
|
|
63
|
+
*
|
|
64
|
+
* A series of burst-captured images in temporally increasing order.
|
|
65
|
+
* The images can be stored as image items or as a single image sequence track (the group's only entity).
|
|
66
|
+
*
|
|
67
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.2.
|
|
68
|
+
*/
|
|
69
|
+
#define heif_entity_group_brst heif_fourcc('b','r','s','t')
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Time-synchronized capture.
|
|
73
|
+
*
|
|
74
|
+
* Images captured simultaneously, stored either as image items or as image sequence tracks, but not a mixture of both.
|
|
75
|
+
*
|
|
76
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.3.
|
|
77
|
+
*/
|
|
78
|
+
#define heif_entity_group_tsyn heif_fourcc('t','s','y','n')
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Stereo pair.
|
|
82
|
+
*
|
|
83
|
+
* A stereoscopic pair of two image items: first the left view, then the right view.
|
|
84
|
+
*
|
|
85
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.5.
|
|
86
|
+
*/
|
|
87
|
+
#define heif_entity_group_ster heif_fourcc('s','t','e','r')
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Stereo pair with monoscopic fallback.
|
|
91
|
+
*
|
|
92
|
+
* Three image items: left view, right view, and a monoscopic fallback,
|
|
93
|
+
* which may be the same as the left or right view.
|
|
94
|
+
*
|
|
95
|
+
* See ISO/IEC 23008-12:2025/Amd. 1:2025 Section 6.8.11.
|
|
96
|
+
*/
|
|
97
|
+
#define heif_entity_group_stem heif_fourcc('s','t','e','m')
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Auto-exposure bracketing.
|
|
101
|
+
*
|
|
102
|
+
* Images of the same scene taken with varying exposure settings.
|
|
103
|
+
*
|
|
104
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.6.2.
|
|
105
|
+
*/
|
|
106
|
+
#define heif_entity_group_aebr heif_fourcc('a','e','b','r')
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* White balance bracketing.
|
|
110
|
+
*
|
|
111
|
+
* Images of the same scene taken with varying white balance settings.
|
|
112
|
+
*
|
|
113
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.6.3.
|
|
114
|
+
*/
|
|
115
|
+
#define heif_entity_group_wbbr heif_fourcc('w','b','b','r')
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Focus bracketing.
|
|
119
|
+
*
|
|
120
|
+
* Images of the same scene taken with varying focus settings.
|
|
121
|
+
*
|
|
122
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.6.4.
|
|
123
|
+
*/
|
|
124
|
+
#define heif_entity_group_fobr heif_fourcc('f','o','b','r')
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Flash exposure bracketing.
|
|
128
|
+
*
|
|
129
|
+
* Images of the same scene taken with varying flash exposure settings.
|
|
130
|
+
*
|
|
131
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.6.5.
|
|
132
|
+
*/
|
|
133
|
+
#define heif_entity_group_afbr heif_fourcc('a','f','b','r')
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Depth of field bracketing.
|
|
137
|
+
*
|
|
138
|
+
* Images of the same scene taken with varying aperture settings.
|
|
139
|
+
*
|
|
140
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.6.6.
|
|
141
|
+
*/
|
|
142
|
+
#define heif_entity_group_dobr heif_fourcc('d','o','b','r')
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Album collection.
|
|
146
|
+
*
|
|
147
|
+
* A user-defined album of images.
|
|
148
|
+
*
|
|
149
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.7.1.
|
|
150
|
+
*/
|
|
151
|
+
#define heif_entity_group_albc heif_fourcc('a','l','b','c')
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Favorites collection.
|
|
155
|
+
*
|
|
156
|
+
* A user-defined collection of favorite images.
|
|
157
|
+
*
|
|
158
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.7.2.
|
|
159
|
+
*/
|
|
160
|
+
#define heif_entity_group_favc heif_fourcc('f','a','v','c')
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Panorama.
|
|
164
|
+
*
|
|
165
|
+
* Images captured to be composed into a panorama, listed in panorama order.
|
|
166
|
+
*
|
|
167
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.8.
|
|
168
|
+
*/
|
|
169
|
+
#define heif_entity_group_pano heif_fourcc('p','a','n','o')
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Slideshow.
|
|
173
|
+
*
|
|
174
|
+
* Images intended to form a slideshow, listed in display order.
|
|
175
|
+
*
|
|
176
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.9.
|
|
177
|
+
*/
|
|
178
|
+
#define heif_entity_group_slid heif_fourcc('s','l','i','d')
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Progressive rendering.
|
|
182
|
+
*
|
|
183
|
+
* The same image at different quality levels, listed from lowest to highest quality.
|
|
184
|
+
* These images should also be members of an 'altr' entity group.
|
|
185
|
+
*
|
|
186
|
+
* See ISO/IEC 23008-12:2025 Section 6.8.10.
|
|
187
|
+
*/
|
|
188
|
+
#define heif_entity_group_prgr heif_fourcc('p','r','g','r')
|
|
30
189
|
|
|
31
190
|
// ------------------------- entity groups ------------------------
|
|
32
191
|
|
|
@@ -35,11 +194,13 @@ typedef uint32_t heif_entity_group_id;
|
|
|
35
194
|
typedef struct heif_entity_group
|
|
36
195
|
{
|
|
37
196
|
heif_entity_group_id entity_group_id;
|
|
38
|
-
|
|
197
|
+
// one of the heif_entity_group_* FourCC constants defined above
|
|
198
|
+
uint32_t entity_group_type;
|
|
39
199
|
heif_item_id* entities;
|
|
40
200
|
uint32_t num_entities;
|
|
41
201
|
} heif_entity_group;
|
|
42
202
|
|
|
203
|
+
// `type_filter` is the wanted FourCC of the entity group type.
|
|
43
204
|
// Use 0 for `type_filter` or `item_filter` to disable the filter.
|
|
44
205
|
// Returns an array of heif_entity_group structs with *out_num_groups entries.
|
|
45
206
|
LIBHEIF_API
|
|
@@ -73,6 +73,12 @@ uint32_t heif_item_get_item_type(const heif_context* ctx, heif_item_id item_id);
|
|
|
73
73
|
|
|
74
74
|
#define heif_item_type_mime heif_fourcc('m','i','m','e')
|
|
75
75
|
#define heif_item_type_uri heif_fourcc('u','r','i',' ')
|
|
76
|
+
#define heif_item_type_exif heif_fourcc('E','x','i','f')
|
|
77
|
+
#define heif_item_type_grid heif_fourcc('g','r','i','d')
|
|
78
|
+
#define heif_item_type_hvc1 heif_fourcc('h','v','c','1')
|
|
79
|
+
#define heif_item_type_unci heif_fourcc('u','n','c','i')
|
|
80
|
+
#define heif_item_type_av01 heif_fourcc('a','v','0','1')
|
|
81
|
+
#define heif_item_type_avc1 heif_fourcc('a','v','c','1')
|
|
76
82
|
|
|
77
83
|
LIBHEIF_API
|
|
78
84
|
int heif_item_is_item_hidden(const heif_context* ctx, heif_item_id item_id);
|
|
@@ -227,12 +233,50 @@ heif_error heif_context_add_item_references(heif_context* ctx,
|
|
|
227
233
|
|
|
228
234
|
// ------------------------- adding new items -------------------------
|
|
229
235
|
|
|
236
|
+
/*
|
|
237
|
+
* All functions in this section add a new item to the context and return its ID in
|
|
238
|
+
* 'out_item_id'. The item ID is freshly allocated and does not collide with any item that
|
|
239
|
+
* already exists in the context, including items read from an input file.
|
|
240
|
+
*
|
|
241
|
+
* 'data' is copied into the context, the caller may release it afterwards. 'size' is the
|
|
242
|
+
* number of bytes in 'data'. A NULL 'data' is only allowed together with size 0.
|
|
243
|
+
* 'out_item_id' may be NULL, in which case the item is added but its ID is not reported.
|
|
244
|
+
*
|
|
245
|
+
* The new item is marked as hidden. Use heif_context_add_item_reference() to link it to an
|
|
246
|
+
* image (e.g. with a 'cdsc' reference for metadata that describes the image).
|
|
247
|
+
*
|
|
248
|
+
* Note that a file must contain at least one image or image sequence to be written;
|
|
249
|
+
* a context holding only items added with these functions cannot be written.
|
|
250
|
+
*/
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Add an item with an arbitrary four-character item type (e.g. "Exif").
|
|
254
|
+
*
|
|
255
|
+
* @param ctx the file context
|
|
256
|
+
* @param item_type four-character item type
|
|
257
|
+
* @param data the item payload
|
|
258
|
+
* @param size number of bytes in 'data'
|
|
259
|
+
* @param out_item_id receives the ID of the new item (may be NULL)
|
|
260
|
+
*/
|
|
230
261
|
LIBHEIF_API
|
|
231
262
|
heif_error heif_context_add_item(heif_context* ctx,
|
|
232
263
|
const char* item_type,
|
|
233
264
|
const void* data, int size,
|
|
234
265
|
heif_item_id* out_item_id);
|
|
235
266
|
|
|
267
|
+
/**
|
|
268
|
+
* Add a 'mime' item, optionally compressing the payload.
|
|
269
|
+
*
|
|
270
|
+
* @param ctx the file context
|
|
271
|
+
* @param content_type MIME content type of the payload (e.g. "application/rdf+xml")
|
|
272
|
+
* @param content_encoding compression to apply to the payload before storing it.
|
|
273
|
+
* Use heif_metadata_compression_method_supported() to check which methods this
|
|
274
|
+
* build of libheif can compress. An unsupported method returns an error and no
|
|
275
|
+
* item is added.
|
|
276
|
+
* @param data the (uncompressed) item payload
|
|
277
|
+
* @param size number of bytes in 'data'
|
|
278
|
+
* @param out_item_id receives the ID of the new item (may be NULL)
|
|
279
|
+
*/
|
|
236
280
|
LIBHEIF_API
|
|
237
281
|
heif_error heif_context_add_mime_item(heif_context* ctx,
|
|
238
282
|
const char* content_type,
|
|
@@ -240,6 +284,21 @@ heif_error heif_context_add_mime_item(heif_context* ctx,
|
|
|
240
284
|
const void* data, int size,
|
|
241
285
|
heif_item_id* out_item_id);
|
|
242
286
|
|
|
287
|
+
/**
|
|
288
|
+
* Add a 'mime' item whose payload has already been compressed by the caller.
|
|
289
|
+
*
|
|
290
|
+
* @param ctx the file context
|
|
291
|
+
* @param content_type MIME content type of the (uncompressed) payload
|
|
292
|
+
* @param content_encoding the HTTP content-coding name that was applied to 'data', stored
|
|
293
|
+
* verbatim as the item's content_encoding. Use "" for uncompressed data.
|
|
294
|
+
* libheif itself can decode "deflate", "compress_zlib" and "br" (when built with
|
|
295
|
+
* zlib / Brotli support) and treats "identity" as uncompressed; items with any other
|
|
296
|
+
* content_encoding are kept, but their data can only be retrieved in compressed form
|
|
297
|
+
* with heif_item_get_item_data().
|
|
298
|
+
* @param data the compressed item payload
|
|
299
|
+
* @param size number of bytes in 'data'
|
|
300
|
+
* @param out_item_id receives the ID of the new item (may be NULL)
|
|
301
|
+
*/
|
|
243
302
|
LIBHEIF_API
|
|
244
303
|
heif_error heif_context_add_precompressed_mime_item(heif_context* ctx,
|
|
245
304
|
const char* content_type,
|
|
@@ -247,6 +306,15 @@ heif_error heif_context_add_precompressed_mime_item(heif_context* ctx,
|
|
|
247
306
|
const void* data, int size,
|
|
248
307
|
heif_item_id* out_item_id);
|
|
249
308
|
|
|
309
|
+
/**
|
|
310
|
+
* Add a 'uri ' item.
|
|
311
|
+
*
|
|
312
|
+
* @param ctx the file context
|
|
313
|
+
* @param item_uri_type the URI that identifies the type of the item payload
|
|
314
|
+
* @param data the item payload
|
|
315
|
+
* @param size number of bytes in 'data'
|
|
316
|
+
* @param out_item_id receives the ID of the new item (may be NULL)
|
|
317
|
+
*/
|
|
250
318
|
LIBHEIF_API
|
|
251
319
|
heif_error heif_context_add_uri_item(heif_context* ctx,
|
|
252
320
|
const char* item_uri_type,
|
|
@@ -131,6 +131,8 @@ int heif_item_get_property_transform_rotation_ccw(const heif_context* context,
|
|
|
131
131
|
// Because of the way this data is stored, you have to pass the image size at the moment of the crop operation
|
|
132
132
|
// to compute the cropped border sizes.
|
|
133
133
|
// If 'propertyId==0', it returns the first clap property found.
|
|
134
|
+
// If the clap cannot be applied to the given image size (zero size or a size beyond the
|
|
135
|
+
// supported coordinate range), all four borders are set to 0.
|
|
134
136
|
LIBHEIF_API
|
|
135
137
|
void heif_item_get_property_transform_crop_borders(const heif_context* context,
|
|
136
138
|
heif_item_id itemId,
|
|
@@ -722,6 +722,12 @@ heif_error heif_region_item_add_region_ellipse(heif_region_item* region_item,
|
|
|
722
722
|
* The points are provided as pairs of X,Y coordinates, in the order X<sub>1</sub>,
|
|
723
723
|
* Y<sub>1</sub>, X<sub>2</sub>, Y<sub>2</sub>, ..., X<sub>n</sub>, Y<sub>n</sub>.
|
|
724
724
|
*
|
|
725
|
+
* @c pts_array must point to at least `2 * nPoints` values. The library cannot
|
|
726
|
+
* verify the size of the array, so passing a shorter array reads beyond its end.
|
|
727
|
+
* @c nPoints must not be negative and @c pts_array must not be `NULL` when
|
|
728
|
+
* @c nPoints is greater than zero. Otherwise the function fails without
|
|
729
|
+
* modifying the region item.
|
|
730
|
+
*
|
|
725
731
|
* @param region_item the region item that holds this polygon region
|
|
726
732
|
* @param pts_array the array of points in X,Y order (see above)
|
|
727
733
|
* @param nPoints the number of points
|
|
@@ -745,6 +751,12 @@ heif_error heif_region_item_add_region_polygon(heif_region_item* region_item,
|
|
|
745
751
|
* The points are provided as pairs of X,Y coordinates, in the order X<sub>1</sub>,
|
|
746
752
|
* Y<sub>1</sub>, X<sub>2</sub>, Y<sub>2</sub>, ..., X<sub>n</sub>, Y<sub>n</sub>.
|
|
747
753
|
*
|
|
754
|
+
* @c pts_array must point to at least `2 * nPoints` values. The library cannot
|
|
755
|
+
* verify the size of the array, so passing a shorter array reads beyond its end.
|
|
756
|
+
* @c nPoints must not be negative and @c pts_array must not be `NULL` when
|
|
757
|
+
* @c nPoints is greater than zero. Otherwise the function fails without
|
|
758
|
+
* modifying the region item.
|
|
759
|
+
*
|
|
748
760
|
* @param region_item the region item that holds this polyline region
|
|
749
761
|
* @param pts_array the array of points in X,Y order (see above)
|
|
750
762
|
* @param nPoints the number of points
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
#define LIBHEIF_HEIF_VERSION_H
|
|
29
29
|
|
|
30
30
|
/* Numeric representation of the version */
|
|
31
|
-
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (23<<16) | (
|
|
31
|
+
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (23<<16) | (4<<8) | 0)
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBHEIF_VERSION "1.23.
|
|
34
|
+
#define LIBHEIF_VERSION "1.23.4"
|
|
35
35
|
|
|
36
36
|
#define LIBHEIF_PLUGIN_DIRECTORY "/target/lib/libheif"
|
|
37
37
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
#define RSVG_VERSION_H
|
|
7
7
|
|
|
8
8
|
#define LIBRSVG_MAJOR_VERSION (2)
|
|
9
|
-
#define LIBRSVG_MINOR_VERSION (
|
|
10
|
-
#define LIBRSVG_MICRO_VERSION (
|
|
11
|
-
#define LIBRSVG_VERSION "2.
|
|
9
|
+
#define LIBRSVG_MINOR_VERSION (63)
|
|
10
|
+
#define LIBRSVG_MICRO_VERSION (0)
|
|
11
|
+
#define LIBRSVG_VERSION "2.63.0"
|
|
12
12
|
|
|
13
13
|
#endif
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
/**
|
|
17
17
|
* the version string like "1.2.3"
|
|
18
18
|
*/
|
|
19
|
-
#define LIBXML_DOTTED_VERSION "2.15.
|
|
19
|
+
#define LIBXML_DOTTED_VERSION "2.15.4"
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* the version number: 1.2.3 value is 10203
|
|
23
23
|
*/
|
|
24
|
-
#define LIBXML_VERSION
|
|
24
|
+
#define LIBXML_VERSION 21504
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* the version number string, 1.2.3 value is "10203"
|
|
28
28
|
*/
|
|
29
|
-
#define LIBXML_VERSION_STRING "
|
|
29
|
+
#define LIBXML_VERSION_STRING "21504"
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* extra version information, used to show a git commit description
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
* Macro to check that the libxml version in use is compatible with
|
|
38
38
|
* the version the software has been compiled against
|
|
39
39
|
*/
|
|
40
|
-
#define LIBXML_TEST_VERSION xmlCheckVersion(
|
|
40
|
+
#define LIBXML_TEST_VERSION xmlCheckVersion(21504);
|
|
41
41
|
|
|
42
42
|
#if 0
|
|
43
43
|
/**
|
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.51",
|
|
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
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
"aom": "3.15.0",
|
|
3
3
|
"archive": "3.8.9",
|
|
4
4
|
"cairo": "1.18.4",
|
|
5
|
-
"cgif": "0.5.
|
|
6
|
-
"de265": "1.1.
|
|
5
|
+
"cgif": "0.5.4",
|
|
6
|
+
"de265": "1.1.3",
|
|
7
7
|
"exif": "0.6.26",
|
|
8
|
-
"expat": "2.8.
|
|
8
|
+
"expat": "2.8.4",
|
|
9
9
|
"ffi": "3.8.0",
|
|
10
10
|
"fontconfig": "2.18.3",
|
|
11
11
|
"freetype": "2.14.3",
|
|
12
12
|
"fribidi": "1.0.16",
|
|
13
|
-
"glib": "2.
|
|
13
|
+
"glib": "2.90.0",
|
|
14
14
|
"harfbuzz": "14.4.0",
|
|
15
|
-
"heif": "1.23.
|
|
15
|
+
"heif": "1.23.4",
|
|
16
16
|
"highway": "1.4.0",
|
|
17
17
|
"imagequant": "2.4.1",
|
|
18
18
|
"lcms": "2.19.1",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"pixman": "0.46.4",
|
|
22
22
|
"png": "1.6.58",
|
|
23
23
|
"proxy-libintl": "0.5",
|
|
24
|
-
"rsvg": "2.
|
|
25
|
-
"svt-av1": "pgo-build-2026-
|
|
24
|
+
"rsvg": "2.63.0",
|
|
25
|
+
"svt-av1": "pgo-build-2026-09-01-0033340",
|
|
26
26
|
"tiff": "4.7.2",
|
|
27
27
|
"uhdr": "2.0.2",
|
|
28
28
|
"vips": "8.18.6",
|
|
29
29
|
"webp": "1.6.0",
|
|
30
|
-
"xml2": "2.15.
|
|
30
|
+
"xml2": "2.15.4",
|
|
31
31
|
"zlib-ng": "2.3.3"
|
|
32
32
|
}
|