@revizly/sharp-libvips-dev 1.0.51 → 1.0.53
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/include/cairo/cairo-version.h +1 -1
- package/include/cairo/cairo.h +1 -1
- package/include/expat.h +77 -26
- package/include/expat_config.h +3 -7
- package/include/expat_external.h +15 -0
- package/include/fontconfig/fontconfig.h +1 -1
- package/include/fribidi/fribidi-arabic.h +1 -2
- package/include/fribidi/fribidi-bidi-types.h +8 -2
- package/include/fribidi/fribidi-brackets.h +1 -1
- package/include/fribidi/fribidi-char-sets.h +2 -2
- package/include/fribidi/fribidi-config.h +2 -2
- package/include/fribidi/fribidi-joining-types.h +2 -2
- package/include/fribidi/fribidi-unicode-version.h +2 -2
- package/include/fribidi/fribidi.h +2 -2
- package/include/glib-2.0/glib/gutils.h +1 -1
- package/include/harfbuzz/hb-common.h +19 -0
- package/include/harfbuzz/hb-draw.h +113 -0
- package/include/harfbuzz/hb-paint.h +113 -0
- package/include/harfbuzz/hb-script-list.h +10 -0
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/libheif/heif_context.h +7 -4
- package/include/libheif/heif_encoding.h +5 -0
- package/include/libheif/heif_error.h +7 -0
- package/include/libheif/heif_image.h +19 -0
- package/include/libheif/heif_tiling.h +12 -0
- package/include/libheif/heif_version.h +2 -2
- package/include/libpng16/png.h +7 -7
- package/include/libpng16/pngconf.h +1 -1
- package/include/libpng16/pnglibconf.h +1 -1
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg.h +4 -3
- package/include/png.h +7 -7
- package/include/pngconf.h +1 -1
- package/include/pnglibconf.h +1 -1
- package/include/svt-av1/EbConfigMacros.h +234 -3
- package/include/svt-av1/EbDebugMacros.h +8 -2
- package/include/svt-av1/EbSvtAv1.h +49 -1
- package/include/svt-av1/EbSvtAv1Enc.h +150 -38
- package/include/vips/version.h +4 -4
- package/package.json +1 -1
- package/versions.json +11 -11
|
@@ -63,6 +63,109 @@ HB_BEGIN_DECLS
|
|
|
63
63
|
**/
|
|
64
64
|
typedef struct hb_paint_funcs_t hb_paint_funcs_t;
|
|
65
65
|
|
|
66
|
+
/**
|
|
67
|
+
* hb_paint_set_budget_func_t:
|
|
68
|
+
* @funcs: paint functions object
|
|
69
|
+
* @paint_data: The data accompanying the paint functions
|
|
70
|
+
* @budget: the new work-budget policy
|
|
71
|
+
* @user_data: User data pointer passed to hb_paint_funcs_set_set_budget_func()
|
|
72
|
+
*
|
|
73
|
+
* Sets the work-budget policy and recharges the live work budget. @budget is
|
|
74
|
+
* #HB_BUDGET_DEFAULT, #HB_BUDGET_UNLIMITED, or a non-negative concrete value.
|
|
75
|
+
*
|
|
76
|
+
* Return value: `true` if the budget was set, `false` if unsupported
|
|
77
|
+
*
|
|
78
|
+
* Since: 14.5.0
|
|
79
|
+
**/
|
|
80
|
+
typedef hb_bool_t (*hb_paint_set_budget_func_t) (hb_paint_funcs_t *funcs,
|
|
81
|
+
void *paint_data,
|
|
82
|
+
int64_t budget,
|
|
83
|
+
void *user_data);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* hb_paint_get_budget_func_t:
|
|
87
|
+
* @funcs: paint functions object
|
|
88
|
+
* @paint_data: The data accompanying the paint functions
|
|
89
|
+
* @user_data: User data pointer passed to hb_paint_funcs_set_get_budget_func()
|
|
90
|
+
*
|
|
91
|
+
* Fetches the configured work-budget policy.
|
|
92
|
+
*
|
|
93
|
+
* Return value: the configured work-budget policy
|
|
94
|
+
*
|
|
95
|
+
* Since: 14.5.0
|
|
96
|
+
**/
|
|
97
|
+
typedef int64_t (*hb_paint_get_budget_func_t) (hb_paint_funcs_t *funcs,
|
|
98
|
+
void *paint_data,
|
|
99
|
+
void *user_data);
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* hb_paint_get_budget_remaining_func_t:
|
|
103
|
+
* @funcs: paint functions object
|
|
104
|
+
* @paint_data: The data accompanying the paint functions
|
|
105
|
+
* @user_data: User data pointer passed to
|
|
106
|
+
* hb_paint_funcs_set_get_budget_remaining_func()
|
|
107
|
+
*
|
|
108
|
+
* Fetches the address of the live work budget. The returned address must stay
|
|
109
|
+
* valid while @paint_data is used with @funcs. The live value must be concrete;
|
|
110
|
+
* it must not contain #HB_BUDGET_DEFAULT.
|
|
111
|
+
*
|
|
112
|
+
* Return value: (nullable) (transfer none): the live work budget, or `NULL` if
|
|
113
|
+
* live budget accounting is unsupported
|
|
114
|
+
*
|
|
115
|
+
* Since: 14.5.0
|
|
116
|
+
**/
|
|
117
|
+
typedef int64_t *(*hb_paint_get_budget_remaining_func_t) (hb_paint_funcs_t *funcs,
|
|
118
|
+
void *paint_data,
|
|
119
|
+
void *user_data);
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* hb_paint_funcs_set_set_budget_func:
|
|
123
|
+
* @funcs: paint functions object
|
|
124
|
+
* @func: (closure user_data) (destroy destroy) (scope notified): budget setter
|
|
125
|
+
* @user_data: Data to pass to @func
|
|
126
|
+
* @destroy: (nullable): callback to destroy @user_data
|
|
127
|
+
*
|
|
128
|
+
* Sets the budget setter callback.
|
|
129
|
+
*
|
|
130
|
+
* Since: 14.5.0
|
|
131
|
+
**/
|
|
132
|
+
HB_EXTERN void
|
|
133
|
+
hb_paint_funcs_set_set_budget_func (hb_paint_funcs_t *funcs,
|
|
134
|
+
hb_paint_set_budget_func_t func,
|
|
135
|
+
void *user_data, hb_destroy_func_t destroy);
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* hb_paint_funcs_set_get_budget_func:
|
|
139
|
+
* @funcs: paint functions object
|
|
140
|
+
* @func: (closure user_data) (destroy destroy) (scope notified): budget getter
|
|
141
|
+
* @user_data: Data to pass to @func
|
|
142
|
+
* @destroy: (nullable): callback to destroy @user_data
|
|
143
|
+
*
|
|
144
|
+
* Sets the budget-policy getter callback.
|
|
145
|
+
*
|
|
146
|
+
* Since: 14.5.0
|
|
147
|
+
**/
|
|
148
|
+
HB_EXTERN void
|
|
149
|
+
hb_paint_funcs_set_get_budget_func (hb_paint_funcs_t *funcs,
|
|
150
|
+
hb_paint_get_budget_func_t func,
|
|
151
|
+
void *user_data, hb_destroy_func_t destroy);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* hb_paint_funcs_set_get_budget_remaining_func:
|
|
155
|
+
* @funcs: paint functions object
|
|
156
|
+
* @func: (closure user_data) (destroy destroy) (scope notified): live-budget getter
|
|
157
|
+
* @user_data: Data to pass to @func
|
|
158
|
+
* @destroy: (nullable): callback to destroy @user_data
|
|
159
|
+
*
|
|
160
|
+
* Sets the live-budget getter callback.
|
|
161
|
+
*
|
|
162
|
+
* Since: 14.5.0
|
|
163
|
+
**/
|
|
164
|
+
HB_EXTERN void
|
|
165
|
+
hb_paint_funcs_set_get_budget_remaining_func (hb_paint_funcs_t *funcs,
|
|
166
|
+
hb_paint_get_budget_remaining_func_t func,
|
|
167
|
+
void *user_data, hb_destroy_func_t destroy);
|
|
168
|
+
|
|
66
169
|
HB_EXTERN hb_paint_funcs_t *
|
|
67
170
|
hb_paint_funcs_create (void);
|
|
68
171
|
|
|
@@ -93,6 +196,16 @@ hb_paint_funcs_make_immutable (hb_paint_funcs_t *funcs);
|
|
|
93
196
|
HB_EXTERN hb_bool_t
|
|
94
197
|
hb_paint_funcs_is_immutable (hb_paint_funcs_t *funcs);
|
|
95
198
|
|
|
199
|
+
HB_EXTERN hb_bool_t
|
|
200
|
+
hb_paint_set_budget (hb_paint_funcs_t *funcs, void *paint_data,
|
|
201
|
+
int64_t budget);
|
|
202
|
+
|
|
203
|
+
HB_EXTERN int64_t
|
|
204
|
+
hb_paint_get_budget (hb_paint_funcs_t *funcs, void *paint_data);
|
|
205
|
+
|
|
206
|
+
HB_EXTERN int64_t
|
|
207
|
+
hb_paint_get_budget_remaining (hb_paint_funcs_t *funcs, void *paint_data);
|
|
208
|
+
|
|
96
209
|
/**
|
|
97
210
|
* hb_paint_push_transform_func_t:
|
|
98
211
|
* @funcs: paint functions object
|
|
@@ -227,6 +227,9 @@ HB_END_DECLS
|
|
|
227
227
|
* @HB_SCRIPT_SIDETIC: `Sidt`, Since: 11.5.0
|
|
228
228
|
* @HB_SCRIPT_TAI_YO: `Tayo`, Since: 11.5.0
|
|
229
229
|
* @HB_SCRIPT_TOLONG_SIKI: `Tols`, Since: 11.5.0
|
|
230
|
+
* @HB_SCRIPT_JURCHEN: `Jurc`, Since: 14.5.0
|
|
231
|
+
* @HB_SCRIPT_PROTO_CUNEIFORM: `Pcun`, Since: 14.5.0
|
|
232
|
+
* @HB_SCRIPT_SEAL: `Seal`, Since: 14.5.0
|
|
230
233
|
* @HB_SCRIPT_INVALID: No script set
|
|
231
234
|
*
|
|
232
235
|
* Data type for scripts. Each #hb_script_t's value is an #hb_tag_t corresponding
|
|
@@ -473,6 +476,13 @@ typedef enum
|
|
|
473
476
|
HB_SCRIPT_TAI_YO = HB_TAG ('T','a','y','o'), /*17.0*/
|
|
474
477
|
HB_SCRIPT_TOLONG_SIKI = HB_TAG ('T','o','l','s'), /*17.0*/
|
|
475
478
|
|
|
479
|
+
/*
|
|
480
|
+
* Since: 14.5.0
|
|
481
|
+
*/
|
|
482
|
+
HB_SCRIPT_JURCHEN = HB_TAG ('J','u','r','c'), /*18.0*/
|
|
483
|
+
HB_SCRIPT_PROTO_CUNEIFORM = HB_TAG ('P','c','u','n'), /*18.0*/
|
|
484
|
+
HB_SCRIPT_SEAL = HB_TAG ('S','e','a','l'), /*18.0*/
|
|
485
|
+
|
|
476
486
|
/* No script set. */
|
|
477
487
|
HB_SCRIPT_INVALID = HB_TAG_NONE,
|
|
478
488
|
|
|
@@ -47,7 +47,7 @@ HB_BEGIN_DECLS
|
|
|
47
47
|
*
|
|
48
48
|
* The minor component of the library version available at compile-time.
|
|
49
49
|
*/
|
|
50
|
-
#define HB_VERSION_MINOR
|
|
50
|
+
#define HB_VERSION_MINOR 6
|
|
51
51
|
/**
|
|
52
52
|
* HB_VERSION_MICRO:
|
|
53
53
|
*
|
|
@@ -60,7 +60,7 @@ HB_BEGIN_DECLS
|
|
|
60
60
|
*
|
|
61
61
|
* A string literal containing the library version available at compile-time.
|
|
62
62
|
*/
|
|
63
|
-
#define HB_VERSION_STRING "14.
|
|
63
|
+
#define HB_VERSION_STRING "14.6.0"
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* HB_VERSION_ATLEAST:
|
|
@@ -119,12 +119,15 @@ typedef enum heif_compression_format
|
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
// ========================= heif_context =========================
|
|
122
|
-
// A heif_context represents a HEIF file
|
|
123
|
-
//
|
|
124
|
-
// and
|
|
122
|
+
// A heif_context represents a HEIF file. It is used either for reading a file
|
|
123
|
+
// (heif_context_read_from_...() and decoding its images), or for writing a new file
|
|
124
|
+
// (encoding images into the context and heif_context_write()), but not for both.
|
|
125
|
+
// A context that has been read from a file cannot be written, and an image that has been
|
|
126
|
+
// added to a context by encoding cannot be decoded from that context: write the file and
|
|
127
|
+
// read it into a new context for that.
|
|
125
128
|
|
|
126
129
|
|
|
127
|
-
// Allocate a new context for reading HEIF
|
|
130
|
+
// Allocate a new context for reading or for writing a HEIF file.
|
|
128
131
|
// Has to be freed again with heif_context_free().
|
|
129
132
|
LIBHEIF_API
|
|
130
133
|
heif_context* heif_context_alloc(void);
|
|
@@ -346,6 +346,11 @@ void heif_encoding_options_free(heif_encoding_options*);
|
|
|
346
346
|
// 'options' should be NULL for now.
|
|
347
347
|
// The first image added to the context is also automatically set the primary image, but
|
|
348
348
|
// you can change the primary image later with heif_context_set_primary_image().
|
|
349
|
+
//
|
|
350
|
+
// The returned handle refers to an image that is being written. Use it to attach thumbnails,
|
|
351
|
+
// metadata or properties to the image, or to make it the primary image. It cannot be used
|
|
352
|
+
// to decode the image, and the functions that report the coded format of an image (bit
|
|
353
|
+
// depths, preferred colorspace, alpha channel) return an error or "unknown" for it.
|
|
349
354
|
LIBHEIF_API
|
|
350
355
|
heif_error heif_context_encode_image(heif_context*,
|
|
351
356
|
const heif_image* image,
|
|
@@ -297,6 +297,13 @@ typedef struct heif_error
|
|
|
297
297
|
heif_suberror_code subcode;
|
|
298
298
|
|
|
299
299
|
// textual error message (is always defined, you do not have to check for NULL)
|
|
300
|
+
//
|
|
301
|
+
// The string is owned by libheif. For many errors, it is stored in the object on which the
|
|
302
|
+
// function that returned the error was called (the heif_context, heif_image_handle,
|
|
303
|
+
// heif_image, heif_track, ...). It is only valid until the next function is called on that
|
|
304
|
+
// object, and at most until that object or the heif_context it belongs to is released.
|
|
305
|
+
// If you need the message for longer, copy it. In particular, read or copy it before you
|
|
306
|
+
// free the heif_context or release the image whose function returned the error.
|
|
300
307
|
const char* message;
|
|
301
308
|
} heif_error;
|
|
302
309
|
|
|
@@ -298,6 +298,10 @@ heif_error heif_image_scale_image(const heif_image* input,
|
|
|
298
298
|
|
|
299
299
|
// Extends the image size to match the given size by extending the right and bottom borders.
|
|
300
300
|
// The border areas are filled with zero.
|
|
301
|
+
// The target 'width' and 'height' must each be at least the image's current size; this
|
|
302
|
+
// function only grows the image and cannot shrink it. If a smaller size is requested,
|
|
303
|
+
// 'heif_error_Usage_error' / 'heif_suberror_Invalid_parameter_value' is returned and the
|
|
304
|
+
// image is left unchanged.
|
|
301
305
|
LIBHEIF_API
|
|
302
306
|
heif_error heif_image_extend_to_size_fill_with_zero(heif_image* image,
|
|
303
307
|
uint32_t width, uint32_t height);
|
|
@@ -364,9 +368,24 @@ heif_error heif_image_create(int width, int height,
|
|
|
364
368
|
* with an interleaved format like RRGGBB where each color is represented by 10 bits,
|
|
365
369
|
* the {@code bit_depth} would be {@code 10} rather than {@code 30}.
|
|
366
370
|
*
|
|
371
|
+
* <p>The interleaved formats define the bit depth of their components:
|
|
372
|
+
* {@code heif_chroma_interleaved_RGB} and {@code heif_chroma_interleaved_RGBA} have 8 bits,
|
|
373
|
+
* the {@code heif_chroma_interleaved_RRGGBB...} formats have 9 to 16 bits.
|
|
374
|
+
* Other bit depths are rejected for these formats.
|
|
375
|
+
*
|
|
367
376
|
* <p>For backward compatibility, one can also specify 24bits for RGB and 32bits for RGBA,
|
|
368
377
|
* instead of the preferred 8 bits. However, this use is deprecated.
|
|
369
378
|
*
|
|
379
|
+
* <p>Planes with a bit depth of 9 to 16 bits store each sample in a 16-bit word. The sample
|
|
380
|
+
* values that are written into the plane have to be within the range of {@code bit_depth} bits,
|
|
381
|
+
* i.e. the unused upper bits must be zero. The encoding functions return an error for an image
|
|
382
|
+
* that contains larger values.
|
|
383
|
+
*
|
|
384
|
+
* <p>An image with an interleaved chroma format carries its alpha inside the interleaved
|
|
385
|
+
* plane. Adding a separate {@code heif_channel_Alpha} plane to such an image is rejected
|
|
386
|
+
* with an error. Use one of the interleaved formats with alpha
|
|
387
|
+
* (e.g. {@code heif_chroma_interleaved_RGBA}) instead.
|
|
388
|
+
*
|
|
370
389
|
* @param image the parent image to add the channel plane to
|
|
371
390
|
* @param channel the channel of the plane to add
|
|
372
391
|
* @param width the width of the plane
|
|
@@ -63,6 +63,9 @@ typedef struct heif_image_tiling
|
|
|
63
63
|
|
|
64
64
|
// If 'process_image_transformations' is true, this returns modified sizes.
|
|
65
65
|
// If it is false, the top_offset and left_offset will always be (0;0).
|
|
66
|
+
// The tiling describes the tiles that can be decoded independently. An image is reported
|
|
67
|
+
// as a single tile when its internal tiles cannot be decoded on their own, or when its
|
|
68
|
+
// alpha channel is stored with a different tiling.
|
|
66
69
|
LIBHEIF_API
|
|
67
70
|
heif_error heif_image_handle_get_image_tiling(const heif_image_handle* handle, int process_image_transformations, struct heif_image_tiling* out_tiling);
|
|
68
71
|
|
|
@@ -96,6 +99,10 @@ heif_error heif_image_handle_decode_image_tile(const heif_image_handle* in_handl
|
|
|
96
99
|
/**
|
|
97
100
|
* @brief Encodes an array of images into a grid.
|
|
98
101
|
*
|
|
102
|
+
* All tiles have to have the same size, colorspace, chroma format and bit depths, and they have
|
|
103
|
+
* to consist of the same components. For example, either all tiles have an alpha channel or
|
|
104
|
+
* none of them has. A grid whose tiles differ in this is refused when it is decoded.
|
|
105
|
+
*
|
|
99
106
|
* @param ctx The file context
|
|
100
107
|
* @param tiles User allocated array of images that will form the grid.
|
|
101
108
|
* @param rows The number of rows in the grid.
|
|
@@ -123,6 +130,11 @@ heif_error heif_context_add_grid_image(heif_context* ctx,
|
|
|
123
130
|
const heif_encoding_options* encoding_options,
|
|
124
131
|
heif_image_handle** out_grid_image_handle);
|
|
125
132
|
|
|
133
|
+
// Encodes an image and adds it as the tile at position (tile_x; tile_y) of a tiled image,
|
|
134
|
+
// for example one that was created with heif_context_add_grid_image().
|
|
135
|
+
// All tiles of an image have to have the same colorspace, chroma format and bit depths, and
|
|
136
|
+
// they have to consist of the same components. For example, either all tiles have an alpha
|
|
137
|
+
// channel or none of them has. A grid whose tiles differ in this is refused when it is decoded.
|
|
126
138
|
LIBHEIF_API
|
|
127
139
|
heif_error heif_context_add_image_tile(heif_context* ctx,
|
|
128
140
|
heif_image_handle* tiled_image,
|
|
@@ -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) | (6<<8) | 0)
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBHEIF_VERSION "1.23.
|
|
34
|
+
#define LIBHEIF_VERSION "1.23.6"
|
|
35
35
|
|
|
36
36
|
#define LIBHEIF_PLUGIN_DIRECTORY "/target/lib/libheif"
|
|
37
37
|
|
package/include/libpng16/png.h
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* png.h - header file for PNG reference library
|
|
2
2
|
*
|
|
3
|
-
* libpng version 1.6.
|
|
3
|
+
* libpng version 1.6.59
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2018-2026 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.
|
|
17
|
+
* libpng versions 1.6.36, December 2018, through 1.6.59, September 2026:
|
|
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.
|
|
241
|
+
* 1.6.59 16 10659 16.so.16.59[.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.
|
|
277
|
+
#define PNG_LIBPNG_VER_STRING "1.6.59"
|
|
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
|
|
288
|
+
#define PNG_LIBPNG_VER_RELEASE 59
|
|
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
|
|
319
|
+
#define PNG_LIBPNG_VER 10659 /* 1.6.59 */
|
|
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 *
|
|
429
|
+
typedef char *png_libpng_version_1_6_59;
|
|
430
430
|
|
|
431
431
|
/* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
|
|
432
432
|
*
|
|
@@ -951,10 +951,11 @@ gboolean rsvg_handle_get_intrinsic_size_in_pixels (RsvgHandle *handle,
|
|
|
951
951
|
/**
|
|
952
952
|
* RsvgHandleFlags:
|
|
953
953
|
* @RSVG_HANDLE_FLAGS_NONE: No flags are set.
|
|
954
|
-
* @RSVG_HANDLE_FLAG_UNLIMITED: Disable safety limits in the XML parser. Libxml2 has
|
|
954
|
+
* @RSVG_HANDLE_FLAG_UNLIMITED: Disable safety limits in the XML parser and on embedded images. Libxml2 has
|
|
955
955
|
* [several limits](https://gitlab.gnome.org/GNOME/libxml2/blob/master/include/libxml/parserInternals.h)
|
|
956
|
-
* designed to keep malicious XML content from consuming too much memory while parsing.
|
|
957
|
-
* For security reasons, this should only be used
|
|
956
|
+
* designed to keep malicious XML content from consuming too much memory while parsing. The image crate
|
|
957
|
+
* also limits per-image allocations to 512 MB by default. For security reasons, this should only be used
|
|
958
|
+
* for trusted input! Since: 2.40.3
|
|
958
959
|
* @RSVG_HANDLE_FLAG_KEEP_IMAGE_DATA: Use this if the Cairo surface to which you are
|
|
959
960
|
* rendering is a PDF, PostScript, SVG, or Win32 Printing surface. This will make librsvg
|
|
960
961
|
* and Cairo use the original, compressed data for images in the final output, instead of
|
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.
|
|
3
|
+
* libpng version 1.6.59
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2018-2026 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.
|
|
17
|
+
* libpng versions 1.6.36, December 2018, through 1.6.59, September 2026:
|
|
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.
|
|
241
|
+
* 1.6.59 16 10659 16.so.16.59[.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.
|
|
277
|
+
#define PNG_LIBPNG_VER_STRING "1.6.59"
|
|
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
|
|
288
|
+
#define PNG_LIBPNG_VER_RELEASE 59
|
|
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
|
|
319
|
+
#define PNG_LIBPNG_VER 10659 /* 1.6.59 */
|
|
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 *
|
|
429
|
+
typedef char *png_libpng_version_1_6_59;
|
|
430
430
|
|
|
431
431
|
/* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
|
|
432
432
|
*
|
package/include/pngconf.h
CHANGED