@imagemagick/magick-wasm 0.0.23 → 0.0.24

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/NOTICE CHANGED
@@ -7,7 +7,7 @@ Licensed under the Apache License, Version 2.0.
7
7
 
8
8
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
9
9
 
10
- [ ImageMagick 7.1.1-13 (2023-07-16) ] copyright:
10
+ [ ImageMagick 7.1.1-17 (2023-09-19) ] copyright:
11
11
 
12
12
  Before we get to the text of the license, lets just review what the license says in simple terms:
13
13
 
@@ -115,7 +115,7 @@ To apply the ImageMagick License to your work, attach the following boilerplate
115
115
 
116
116
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
117
117
 
118
- [ aom 3.6.1 (2022-05-08) ] copyright:
118
+ [ aom 3.7.0 (2023-08-25) ] copyright:
119
119
 
120
120
  Copyright (c) 2016, Alliance for Open Media. All rights reserved.
121
121
 
@@ -147,7 +147,7 @@ POSSIBILITY OF SUCH DAMAGE.
147
147
 
148
148
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
149
149
 
150
- [ brotli 1.0.9 (2020-08-27) ] copyright:
150
+ [ brotli 1.1.0 (2023-08-31) ] copyright:
151
151
 
152
152
  Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
153
153
 
@@ -1047,7 +1047,7 @@ SOFTWARE.
1047
1047
 
1048
1048
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
1049
1049
 
1050
- [ openexr 3.1.9 (2023-06-26) ] copyright:
1050
+ [ openexr 3.1.11 (2023-08-14) ] copyright:
1051
1051
 
1052
1052
  <!-- SPDX-License-Identifier: BSD-3-Clause -->
1053
1053
  <!-- Copyright (c) Contributors to the OpenEXR Project -->
@@ -1106,7 +1106,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1106
1106
 
1107
1107
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
1108
1108
 
1109
- [ freetype 2.13.1 (2023-06-24) ] copyright:
1109
+ [ freetype 2.13.2 (2023-08-25) ] copyright:
1110
1110
 
1111
1111
  The FreeType Project LICENSE
1112
1112
  ----------------------------
@@ -2663,7 +2663,7 @@ SOFTWARE.
2663
2663
 
2664
2664
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2665
2665
 
2666
- [ highway 1.0.4 (2023-03-17) ] copyright:
2666
+ [ highway 1.0.7 (2023-08-30) ] copyright:
2667
2667
 
2668
2668
  Apache License
2669
2669
  Version 2.0, January 2004
@@ -3476,7 +3476,7 @@ OF THIS SOFTWARE.
3476
3476
 
3477
3477
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3478
3478
 
3479
- [ webp 1.3.1 (2023-06-23) ] copyright:
3479
+ [ webp 1.3.2 (2023-09-14) ] copyright:
3480
3480
 
3481
3481
  Copyright (c) 2010, Google Inc. All rights reserved.
3482
3482
 
@@ -3511,7 +3511,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3511
3511
 
3512
3512
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3513
3513
 
3514
- [ xml 2.11.4 (2023-05-18) ] copyright:
3514
+ [ xml 2.11.5 (2023-08-09) ] copyright:
3515
3515
 
3516
3516
  Except where otherwise noted in the source code (e.g. the files hash.c,
3517
3517
  list.c and the trio files, which are covered by a similar licence but
package/README.md CHANGED
@@ -21,7 +21,7 @@ Follow me on twitter([@MagickNET](https://twitter.com/MagickNET)) to receive inf
21
21
 
22
22
  ## Release notes
23
23
 
24
- The release notes can be found on [GitHub](https://github.com/dlemstra/magick-wasm/releases/tag/0.0.23).
24
+ The release notes can be found on [GitHub](https://github.com/dlemstra/magick-wasm/releases/tag/0.0.24).
25
25
 
26
26
  ## Donate
27
27
 
package/dist/index.d.ts CHANGED
@@ -1079,6 +1079,80 @@ export declare class MagickImageCollection extends Array<MagickImage> implements
1079
1079
  private throwIfEmpty;
1080
1080
  private checkResult;
1081
1081
  }
1082
+ export declare enum Kernel {
1083
+ Undefined = "Undefined",
1084
+ Unity = "Unity",
1085
+ Gaussian = "Gaussian",
1086
+ DoG = "DoG",
1087
+ LoG = "LoG",
1088
+ Blur = "Blur",
1089
+ Comet = "Comet",
1090
+ Binomial = "Binomial",
1091
+ Laplacian = "Laplacian",
1092
+ Sobel = "Sobel",
1093
+ FreiChen = "FreiChen",
1094
+ Roberts = "Roberts",
1095
+ Prewitt = "Prewitt",
1096
+ Compass = "Compass",
1097
+ Kirsch = "Kirsch",
1098
+ Diamond = "Diamond",
1099
+ Square = "Square",
1100
+ Rectangle = "Rectangle",
1101
+ Octagon = "Octagon",
1102
+ Disk = "Disk",
1103
+ Plus = "Plus",
1104
+ Cross = "Cross",
1105
+ Ring = "Ring",
1106
+ Peaks = "Peaks",
1107
+ Edges = "Edges",
1108
+ Corners = "Corners",
1109
+ Diagonals = "Diagonals",
1110
+ LineEnds = "LineEnds",
1111
+ LineJunctions = "LineJunctions",
1112
+ Ridges = "Ridges",
1113
+ ConvexHull = "ConvexHull",
1114
+ ThinSE = "ThinSE",
1115
+ Skeleton = "Skeleton",
1116
+ Chebyshev = "Chebyshev",
1117
+ Manhattan = "Manhattan",
1118
+ Octagonal = "Octagonal",
1119
+ Euclidean = "Euclidean",
1120
+ UserDefined = "UserDefined"
1121
+ }
1122
+ export declare enum MorphologyMethod {
1123
+ Undefined = 0,
1124
+ Convolve = 1,
1125
+ Correlate = 2,
1126
+ Erode = 3,
1127
+ Dilate = 4,
1128
+ ErodeIntensity = 5,
1129
+ DilateIntensity = 6,
1130
+ IterativeDistance = 7,
1131
+ Open = 8,
1132
+ Close = 9,
1133
+ OpenIntensity = 10,
1134
+ CloseIntensity = 11,
1135
+ Smooth = 12,
1136
+ EdgeIn = 13,
1137
+ EdgeOut = 14,
1138
+ Edge = 15,
1139
+ TopHat = 16,
1140
+ BottomHat = 17,
1141
+ HitAndMiss = 18,
1142
+ Thinning = 19,
1143
+ Thicken = 20,
1144
+ Distance = 21,
1145
+ Voronoi = 22
1146
+ }
1147
+ export declare class MorphologySettings {
1148
+ channels: Channels;
1149
+ convolveBias: Percentage | undefined;
1150
+ convolveScale: MagickGeometry | undefined;
1151
+ iterations: number;
1152
+ readonly method: MorphologyMethod;
1153
+ readonly kernel: string;
1154
+ constructor(method: MorphologyMethod, kernel: Kernel | string, args?: string);
1155
+ }
1082
1156
  export declare enum OrientationType {
1083
1157
  Undefined = 0,
1084
1158
  TopLeft = 1,
@@ -1313,6 +1387,8 @@ export interface IMagickImage extends IDisposable {
1313
1387
  modulate(brightness: Percentage): void;
1314
1388
  modulate(brightness: Percentage, saturation: Percentage): void;
1315
1389
  modulate(brightness: Percentage, saturation: Percentage, hue: Percentage): void;
1390
+ motionBlur(radius: number, sigma: number, angle: number): void;
1391
+ morphology(settings: MorphologySettings): void;
1316
1392
  negate(): void;
1317
1393
  negate(channels: Channels): void;
1318
1394
  negateGrayScale(): void;
@@ -1551,6 +1627,8 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
1551
1627
  modulate(brightness: Percentage): void;
1552
1628
  modulate(brightness: Percentage, saturation: Percentage): void;
1553
1629
  modulate(brightness: Percentage, saturation: Percentage, hue: Percentage): void;
1630
+ motionBlur(radius: number, sigma: number, angle: number): void;
1631
+ morphology(settings: MorphologySettings): void;
1554
1632
  oilPaint(): void;
1555
1633
  oilPaint(radius: number): void;
1556
1634
  opaque: (target: MagickColor, fill: MagickColor) => void;