@img/sharp-libvips-dev-wasm32 1.2.0 → 1.2.1
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/webp/decode.h +11 -2
- package/include/webp/demux.h +2 -0
- package/include/webp/encode.h +2 -0
- package/include/webp/mux_types.h +1 -0
- package/include/webp/sharpyuv/sharpyuv.h +1 -1
- package/include/webp/types.h +2 -2
- package/lib/libaom.a +0 -0
- package/lib/libcgif.a +0 -0
- package/lib/libexif.a +0 -0
- package/lib/libexpat.a +0 -0
- package/lib/libffi.a +0 -0
- package/lib/libgio-2.0.a +0 -0
- package/lib/libglib-2.0.a +0 -0
- package/lib/libgmodule-2.0.a +0 -0
- package/lib/libgobject-2.0.a +0 -0
- package/lib/libgthread-2.0.a +0 -0
- package/lib/libheif.a +0 -0
- package/lib/libhwy.a +0 -0
- package/lib/libimagequant.a +0 -0
- package/lib/libjpeg.a +0 -0
- package/lib/liblcms2.a +0 -0
- package/lib/libresvg.a +0 -0
- package/lib/libsharpyuv.a +0 -0
- package/lib/libsharpyuv.la +2 -2
- package/lib/libspng.a +0 -0
- package/lib/libtiff.a +0 -0
- package/lib/libvips-cpp.a +0 -0
- package/lib/libvips.a +0 -0
- package/lib/libwebp.a +0 -0
- package/lib/libwebp.la +4 -4
- package/lib/libwebpdemux.a +0 -0
- package/lib/libwebpdemux.la +2 -2
- package/lib/libwebpmux.a +0 -0
- package/lib/libwebpmux.la +2 -2
- package/lib/libz.a +0 -0
- package/lib/pkgconfig/libsharpyuv.pc +1 -1
- package/lib/pkgconfig/libwebp.pc +1 -1
- package/lib/pkgconfig/libwebpdemux.pc +1 -1
- package/lib/pkgconfig/libwebpmux.pc +1 -1
- package/package.json +1 -1
- package/versions.json +2 -2
package/include/webp/decode.h
CHANGED
|
@@ -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
|
|
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
|
package/include/webp/demux.h
CHANGED
package/include/webp/encode.h
CHANGED
package/include/webp/mux_types.h
CHANGED
|
@@ -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
|
|
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) \
|
package/include/webp/types.h
CHANGED
|
@@ -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/lib/libaom.a
CHANGED
|
Binary file
|
package/lib/libcgif.a
CHANGED
|
Binary file
|
package/lib/libexif.a
CHANGED
|
Binary file
|
package/lib/libexpat.a
CHANGED
|
Binary file
|
package/lib/libffi.a
CHANGED
|
Binary file
|
package/lib/libgio-2.0.a
CHANGED
|
Binary file
|
package/lib/libglib-2.0.a
CHANGED
|
Binary file
|
package/lib/libgmodule-2.0.a
CHANGED
|
Binary file
|
package/lib/libgobject-2.0.a
CHANGED
|
Binary file
|
package/lib/libgthread-2.0.a
CHANGED
|
Binary file
|
package/lib/libheif.a
CHANGED
|
Binary file
|
package/lib/libhwy.a
CHANGED
|
Binary file
|
package/lib/libimagequant.a
CHANGED
|
Binary file
|
package/lib/libjpeg.a
CHANGED
|
Binary file
|
package/lib/liblcms2.a
CHANGED
|
Binary file
|
package/lib/libresvg.a
CHANGED
|
Binary file
|
package/lib/libsharpyuv.a
CHANGED
|
Binary file
|
package/lib/libsharpyuv.la
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# libsharpyuv.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.4
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.5.4 Debian-2.5.4-4
|
|
3
3
|
#
|
|
4
4
|
# Please DO NOT delete this file!
|
|
5
5
|
# It is necessary for linking the library.
|
|
@@ -25,7 +25,7 @@ weak_library_names=''
|
|
|
25
25
|
# Version information for libsharpyuv.
|
|
26
26
|
current=1
|
|
27
27
|
age=1
|
|
28
|
-
revision=
|
|
28
|
+
revision=2
|
|
29
29
|
|
|
30
30
|
# Is this an already installed library?
|
|
31
31
|
installed=yes
|
package/lib/libspng.a
CHANGED
|
Binary file
|
package/lib/libtiff.a
CHANGED
|
Binary file
|
package/lib/libvips-cpp.a
CHANGED
|
Binary file
|
package/lib/libvips.a
CHANGED
|
Binary file
|
package/lib/libwebp.a
CHANGED
|
Binary file
|
package/lib/libwebp.la
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# libwebp.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.4
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.5.4 Debian-2.5.4-4
|
|
3
3
|
#
|
|
4
4
|
# Please DO NOT delete this file!
|
|
5
5
|
# It is necessary for linking the library.
|
|
@@ -23,9 +23,9 @@ dependency_libs=' -L/src/build/target/lib /src/build/target/lib/libsharpyuv.la -
|
|
|
23
23
|
weak_library_names=''
|
|
24
24
|
|
|
25
25
|
# Version information for libwebp.
|
|
26
|
-
current=
|
|
27
|
-
age=
|
|
28
|
-
revision=
|
|
26
|
+
current=9
|
|
27
|
+
age=2
|
|
28
|
+
revision=0
|
|
29
29
|
|
|
30
30
|
# Is this an already installed library?
|
|
31
31
|
installed=yes
|
package/lib/libwebpdemux.a
CHANGED
|
Binary file
|
package/lib/libwebpdemux.la
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# libwebpdemux.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.4
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.5.4 Debian-2.5.4-4
|
|
3
3
|
#
|
|
4
4
|
# Please DO NOT delete this file!
|
|
5
5
|
# It is necessary for linking the library.
|
|
@@ -25,7 +25,7 @@ weak_library_names=''
|
|
|
25
25
|
# Version information for libwebpdemux.
|
|
26
26
|
current=2
|
|
27
27
|
age=0
|
|
28
|
-
revision=
|
|
28
|
+
revision=17
|
|
29
29
|
|
|
30
30
|
# Is this an already installed library?
|
|
31
31
|
installed=yes
|
package/lib/libwebpmux.a
CHANGED
|
Binary file
|
package/lib/libwebpmux.la
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# libwebpmux.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.4
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.5.4 Debian-2.5.4-4
|
|
3
3
|
#
|
|
4
4
|
# Please DO NOT delete this file!
|
|
5
5
|
# It is necessary for linking the library.
|
|
@@ -25,7 +25,7 @@ weak_library_names=''
|
|
|
25
25
|
# Version information for libwebpmux.
|
|
26
26
|
current=4
|
|
27
27
|
age=1
|
|
28
|
-
revision=
|
|
28
|
+
revision=2
|
|
29
29
|
|
|
30
30
|
# Is this an already installed library?
|
|
31
31
|
installed=yes
|
package/lib/libz.a
CHANGED
|
Binary file
|
package/lib/pkgconfig/libwebp.pc
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@img/sharp-libvips-dev-wasm32",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Header files and static wasm32 libraries for libvips and dependencies to build sharp as wasm32",
|
|
5
5
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
6
|
"homepage": "https://sharp.pixelplumbing.com",
|
package/versions.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"aom": "3.12.1",
|
|
3
3
|
"cgif": "0.5.0",
|
|
4
|
-
"emscripten": "4.0.
|
|
4
|
+
"emscripten": "4.0.11",
|
|
5
5
|
"exif": "0.6.25",
|
|
6
6
|
"expat": "2.7.1",
|
|
7
7
|
"ffi": "3.5.1",
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"spng": "0.7.4",
|
|
16
16
|
"tiff": "4.7.0",
|
|
17
17
|
"vips": "8.17.1",
|
|
18
|
-
"webp": "1.
|
|
18
|
+
"webp": "1.6.0",
|
|
19
19
|
"zlib-ng": "2.2.4"
|
|
20
20
|
}
|