@imagemagick/magick-wasm 0.0.34 → 0.0.35

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-44 (2025-02-22) ] copyright:
10
+ [ ImageMagick 7.1.1-48 beta (2025-04-12) ] copyright:
11
11
 
12
12
  ImageMagick License
13
13
  https://imagemagick.org/script/license.php
@@ -118,7 +118,7 @@ To apply the ImageMagick License to your work, attach the following boilerplate
118
118
 
119
119
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
120
120
 
121
- [ aom 3.11.0 (2024-11-14) ] copyright:
121
+ [ aom 3.12.0 (2025-02-07) ] copyright:
122
122
 
123
123
  Copyright (c) 2016, Alliance for Open Media. All rights reserved.
124
124
 
@@ -1077,7 +1077,7 @@ SOFTWARE.
1077
1077
 
1078
1078
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
1079
1079
 
1080
- [ openexr 3.3.2 (2024-11-11) ] copyright:
1080
+ [ openexr 3.3.3 (2025-03-24) ] copyright:
1081
1081
 
1082
1082
  Copyright (c) Contributors to the OpenEXR Project. All rights reserved.
1083
1083
 
@@ -1814,10 +1814,10 @@ That's all there is to it!
1814
1814
 
1815
1815
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
1816
1816
 
1817
- [ heif 1.19.5 (2024-11-19) ] copyright:
1817
+ [ heif 1.19.7 (2025-03-03) ] copyright:
1818
1818
 
1819
1819
  * The library `libheif` is distributed under the terms of the GNU Lesser General Public License.
1820
- * The sample applications are distributed under the terms of the MIT License.
1820
+ * The sample applications and the Go and C++ wrappers are distributed under the terms of the MIT License.
1821
1821
 
1822
1822
  License texts below and in the `COPYING` files of the corresponding subfolders.
1823
1823
 
@@ -3312,7 +3312,7 @@ Library.
3312
3312
 
3313
3313
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3314
3314
 
3315
- [ png 1.6.46 (2025-01-23) ] copyright:
3315
+ [ png 1.6.47 (2025-02-18) ] copyright:
3316
3316
 
3317
3317
  COPYRIGHT NOTICE, DISCLAIMER, and LICENSE
3318
3318
  =========================================
@@ -3546,7 +3546,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3546
3546
 
3547
3547
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3548
3548
 
3549
- [ xml 2.13.5 (2024-11-12) ] copyright:
3549
+ [ xml 2.13.6 (2025-02-18) ] copyright:
3550
3550
 
3551
3551
  Except where otherwise noted in the source code (e.g. the files dict.c and
3552
3552
  list.c, which are covered by a similar licence but with different Copyright
package/README.md CHANGED
@@ -21,7 +21,7 @@ Follow me on bluesky ([@dirk.lemstra.org](https://bsky.app/profile/dirk.lemstra.
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.34).
24
+ The release notes can be found on [GitHub](https://github.com/dlemstra/magick-wasm/releases/tag/0.0.35).
25
25
 
26
26
  ## Donate
27
27
 
package/dist/index.d.ts CHANGED
@@ -1793,10 +1793,14 @@ export interface IMagickImage extends IDisposable {
1793
1793
  charcoal(): void;
1794
1794
  charcoal(radius: number, sigma: number): void;
1795
1795
  chop(geometry: MagickGeometry): void;
1796
+ chopHorizontal(x: number, width: number): void;
1797
+ chopVertical(y: number, height: number): void;
1796
1798
  clahe(xTiles: number, yTiles: number, numberBins: number, clipLimit: number): void;
1797
1799
  clahe(xTiles: Percentage, yTiles: Percentage, numberBins: number, clipLimit: number): void;
1798
1800
  clone<TReturnType>(func: SyncImageCallback<TReturnType>): TReturnType;
1799
1801
  clone<TReturnType>(func: AsyncImageCallback<TReturnType>): Promise<TReturnType>;
1802
+ cloneArea<TReturnType>(geometry: MagickGeometry, func: SyncImageCallback<TReturnType>): TReturnType;
1803
+ cloneArea<TReturnType>(geometry: MagickGeometry, func: AsyncImageCallback<TReturnType>): Promise<TReturnType>;
1800
1804
  colorAlpha(color: IMagickColor): void;
1801
1805
  compare(image: IMagickImage, metric: ErrorMetric): number;
1802
1806
  compare<TReturnType>(image: IMagickImage, settings: CompareSettings, func: (compareResult: CompareResult) => TReturnType): TReturnType;
@@ -2114,10 +2118,14 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
2114
2118
  charcoal(): void;
2115
2119
  charcoal(radius: number, sigma: number): void;
2116
2120
  chop(geometry: MagickGeometry): void;
2121
+ chopHorizontal(x: number, width: number): void;
2122
+ chopVertical(y: number, height: number): void;
2117
2123
  clahe(xTiles: number, yTiles: number, numberBins: number, clipLimit: number): void;
2118
2124
  clahe(xTiles: Percentage, yTiles: Percentage, numberBins: number, clipLimit: number): void;
2119
2125
  clone<TReturnType>(func: SyncImageCallback<TReturnType>): TReturnType;
2120
2126
  clone<TReturnType>(func: AsyncImageCallback<TReturnType>): Promise<TReturnType>;
2127
+ cloneArea<TReturnType>(geometry: MagickGeometry, func: SyncImageCallback<TReturnType>): TReturnType;
2128
+ cloneArea<TReturnType>(geometry: MagickGeometry, func: AsyncImageCallback<TReturnType>): Promise<TReturnType>;
2121
2129
  colorAlpha(color: IMagickColor): void;
2122
2130
  compare(image: IMagickImage, metric: ErrorMetric): number;
2123
2131
  compare(image: IMagickImage, metric: ErrorMetric, channels: Channels): number;
@@ -2644,6 +2652,9 @@ export declare class Quantum {
2644
2652
  static get depth(): number;
2645
2653
  static get max(): number;
2646
2654
  }
2655
+ export declare class OffsetInfo {
2656
+ static _use<TReturnType>(x: number, y: number, func: (primaryInfoPtr: number) => TReturnType | Promise<TReturnType>): TReturnType | Promise<TReturnType>;
2657
+ }
2647
2658
 
2648
2659
  export {
2649
2660
  ProgressEvent$1 as ProgressEvent,