@imagemagick/magick-wasm 0.0.25 → 0.0.27
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 +11 -7
- package/README.md +1 -1
- package/dist/index.d.ts +5 -6
- package/dist/index.js +8260 -0
- package/dist/index.umd.cjs +5 -0
- package/dist/magick.wasm +0 -0
- package/package.json +15 -15
- package/dist/index.mjs +0 -8770
- package/dist/index.umd.js +0 -5
package/NOTICE
CHANGED
|
@@ -7,7 +7,10 @@ Licensed under the Apache License, Version 2.0.
|
|
|
7
7
|
|
|
8
8
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
9
9
|
|
|
10
|
-
[ ImageMagick 7.1.1-
|
|
10
|
+
[ ImageMagick 7.1.1-24 (2023-12-25) ] copyright:
|
|
11
|
+
|
|
12
|
+
ImageMagick License
|
|
13
|
+
https://imagemagick.org/script/license.php
|
|
11
14
|
|
|
12
15
|
Before we get to the text of the license, lets just review what the license says in simple terms:
|
|
13
16
|
|
|
@@ -115,7 +118,7 @@ To apply the ImageMagick License to your work, attach the following boilerplate
|
|
|
115
118
|
|
|
116
119
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
117
120
|
|
|
118
|
-
[ aom 3.
|
|
121
|
+
[ aom 3.8.0 (2023-12-06) ] copyright:
|
|
119
122
|
|
|
120
123
|
Copyright (c) 2016, Alliance for Open Media. All rights reserved.
|
|
121
124
|
|
|
@@ -3060,10 +3063,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
3060
3063
|
|
|
3061
3064
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
3062
3065
|
|
|
3063
|
-
[ lcms 2.
|
|
3066
|
+
[ lcms 2.16.0 (2023-12-03) ] copyright:
|
|
3067
|
+
|
|
3068
|
+
MIT License
|
|
3064
3069
|
|
|
3065
|
-
|
|
3066
|
-
Copyright (c) 1998-2020 Marti Maria Saguer
|
|
3070
|
+
Copyright (c) 2023 Marti Maria Saguer
|
|
3067
3071
|
|
|
3068
3072
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
3069
3073
|
a copy of this software and associated documentation files (the
|
|
@@ -3534,7 +3538,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
3534
3538
|
|
|
3535
3539
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
3536
3540
|
|
|
3537
|
-
[ xml 2.12.
|
|
3541
|
+
[ xml 2.12.3 (2023-12-12) ] copyright:
|
|
3538
3542
|
|
|
3539
3543
|
Except where otherwise noted in the source code (e.g. the files dict.c,
|
|
3540
3544
|
list.c and the trio files, which are covered by a similar licence but
|
|
@@ -3562,7 +3566,7 @@ THE SOFTWARE.
|
|
|
3562
3566
|
|
|
3563
3567
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
3564
3568
|
|
|
3565
|
-
[ zlib 1.
|
|
3569
|
+
[ zlib 1.3.0 (2023-08-18) ] copyright:
|
|
3566
3570
|
|
|
3567
3571
|
Copyright notice:
|
|
3568
3572
|
|
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.
|
|
24
|
+
The release notes can be found on [GitHub](https://github.com/dlemstra/magick-wasm/releases/tag/0.0.27).
|
|
25
25
|
|
|
26
26
|
## Donate
|
|
27
27
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1520,7 +1520,6 @@ export declare class PixelCollection extends NativeInstance implements IPixelCol
|
|
|
1520
1520
|
setPixel(x: number, y: number, quantumPixels: quantumArray): void;
|
|
1521
1521
|
setPixel(x: number, y: number, numberPixels: number[]): void;
|
|
1522
1522
|
toByteArray(x: number, y: number, width: number, height: number, mapping: string): Uint8Array | null;
|
|
1523
|
-
private static createArray;
|
|
1524
1523
|
private use;
|
|
1525
1524
|
}
|
|
1526
1525
|
export interface IChannelStatistics {
|
|
@@ -1710,7 +1709,7 @@ export interface IMagickImage extends IDisposable {
|
|
|
1710
1709
|
read(color: IMagickColor, width: number, height: number): void;
|
|
1711
1710
|
read(fileName: string, settings?: MagickReadSettings): void;
|
|
1712
1711
|
read(array: ByteArray, settings?: MagickReadSettings): void;
|
|
1713
|
-
readFromCanvas(canvas: HTMLCanvasElement): void;
|
|
1712
|
+
readFromCanvas(canvas: HTMLCanvasElement, settings?: CanvasRenderingContext2DSettings): void;
|
|
1714
1713
|
removeArtifact(name: string): void;
|
|
1715
1714
|
removeAttribute(name: string): void;
|
|
1716
1715
|
removeProfile(profile: IImageProfile): void;
|
|
@@ -1971,7 +1970,7 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
|
|
|
1971
1970
|
read(color: IMagickColor, width: number, height: number): void;
|
|
1972
1971
|
read(fileName: string, settings?: MagickReadSettings): void;
|
|
1973
1972
|
read(array: ByteArray, settings?: MagickReadSettings): void;
|
|
1974
|
-
readFromCanvas(canvas: HTMLCanvasElement): void;
|
|
1973
|
+
readFromCanvas(canvas: HTMLCanvasElement, settings?: CanvasRenderingContext2DSettings): void;
|
|
1975
1974
|
removeArtifact(name: string): void;
|
|
1976
1975
|
removeAttribute(name: string): void;
|
|
1977
1976
|
removeProfile(profile: IImageProfile): void;
|
|
@@ -2062,10 +2061,10 @@ export declare class ImageMagick {
|
|
|
2062
2061
|
static readCollection<TReturnType>(fileName: string, settings: MagickReadSettings, func: (images: IMagickImageCollection) => Promise<TReturnType>): Promise<TReturnType>;
|
|
2063
2062
|
static readCollection<TReturnType>(fileName: string, func: (images: IMagickImageCollection) => TReturnType): TReturnType;
|
|
2064
2063
|
static readCollection<TReturnType>(fileName: string, func: (images: IMagickImageCollection) => Promise<TReturnType>): Promise<TReturnType>;
|
|
2065
|
-
static readFromCanvas<TReturnType>(canvas: HTMLCanvasElement, func: (image: IMagickImage) => TReturnType): TReturnType;
|
|
2066
|
-
static readFromCanvas<TReturnType>(canvas: HTMLCanvasElement, func: (image: IMagickImage) => Promise<TReturnType
|
|
2064
|
+
static readFromCanvas<TReturnType>(canvas: HTMLCanvasElement, func: (image: IMagickImage) => TReturnType, settings?: CanvasRenderingContext2DSettings): TReturnType;
|
|
2065
|
+
static readFromCanvas<TReturnType>(canvas: HTMLCanvasElement, func: (image: IMagickImage) => Promise<TReturnType>, settings?: CanvasRenderingContext2DSettings): Promise<TReturnType>;
|
|
2067
2066
|
}
|
|
2068
|
-
export declare function initializeImageMagick(wasmLocationOrData
|
|
2067
|
+
export declare function initializeImageMagick(wasmLocationOrData: URL | ByteArray): Promise<void>;
|
|
2069
2068
|
export declare class MagickColors {
|
|
2070
2069
|
static get None(): IMagickColor;
|
|
2071
2070
|
static get Transparent(): IMagickColor;
|