@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.
@@ -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/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
Binary file
Binary file
Binary file
package/lib/libheif.a CHANGED
Binary file
package/lib/libhwy.a CHANGED
Binary file
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
@@ -1,5 +1,5 @@
1
1
  # libsharpyuv.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.7 Debian-2.4.7-7+build1
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=1
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.7 Debian-2.4.7-7+build1
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=8
27
- age=1
28
- revision=10
26
+ current=9
27
+ age=2
28
+ revision=0
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
Binary file
@@ -1,5 +1,5 @@
1
1
  # libwebpdemux.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.7 Debian-2.4.7-7+build1
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=16
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.7 Debian-2.4.7-7+build1
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=1
28
+ revision=2
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
package/lib/libz.a CHANGED
Binary file
@@ -5,7 +5,7 @@ includedir=${prefix}/include/webp
5
5
 
6
6
  Name: libsharpyuv
7
7
  Description: Library for sharp RGB to YUV conversion
8
- Version: 1.5.0
8
+ Version: 1.6.0
9
9
  Cflags: -I${includedir}
10
10
  Libs: -L${libdir} -lsharpyuv
11
11
  Libs.private: -lm
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: libwebp
7
7
  Description: Library for the WebP graphics format
8
- Version: 1.5.0
8
+ Version: 1.6.0
9
9
  Requires.private: libsharpyuv
10
10
  Cflags: -I${includedir}
11
11
  Libs: -L${libdir} -lwebp
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: libwebpdemux
7
7
  Description: Library for parsing the WebP graphics format container
8
- Version: 1.5.0
8
+ Version: 1.6.0
9
9
  Requires.private: libwebp >= 0.2.0
10
10
  Cflags: -I${includedir}
11
11
  Libs: -L${libdir} -lwebpdemux
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: libwebpmux
7
7
  Description: Library for manipulating the WebP graphics format container
8
- Version: 1.5.0
8
+ Version: 1.6.0
9
9
  Requires.private: libwebp >= 0.2.0
10
10
  Cflags: -I${includedir}
11
11
  Libs: -L${libdir} -lwebpmux
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@img/sharp-libvips-dev-wasm32",
3
- "version": "1.2.0",
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.10",
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.5.0",
18
+ "webp": "1.6.0",
19
19
  "zlib-ng": "2.2.4"
20
20
  }