@imagemagick/magick-wasm 0.0.26 → 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 +2 -2
- package/README.md +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +8260 -0
- package/dist/index.umd.cjs +5 -0
- package/dist/magick.wasm +0 -0
- package/package.json +14 -14
- package/dist/index.mjs +0 -8686
- package/dist/index.umd.js +0 -5
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-
|
|
10
|
+
[ ImageMagick 7.1.1-24 (2023-12-25) ] copyright:
|
|
11
11
|
|
|
12
12
|
ImageMagick License
|
|
13
13
|
https://imagemagick.org/script/license.php
|
|
@@ -3538,7 +3538,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
3538
3538
|
|
|
3539
3539
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
3540
3540
|
|
|
3541
|
-
[ xml 2.12.
|
|
3541
|
+
[ xml 2.12.3 (2023-12-12) ] copyright:
|
|
3542
3542
|
|
|
3543
3543
|
Except where otherwise noted in the source code (e.g. the files dict.c,
|
|
3544
3544
|
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.
|
|
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
|
@@ -1709,7 +1709,7 @@ export interface IMagickImage extends IDisposable {
|
|
|
1709
1709
|
read(color: IMagickColor, width: number, height: number): void;
|
|
1710
1710
|
read(fileName: string, settings?: MagickReadSettings): void;
|
|
1711
1711
|
read(array: ByteArray, settings?: MagickReadSettings): void;
|
|
1712
|
-
readFromCanvas(canvas: HTMLCanvasElement): void;
|
|
1712
|
+
readFromCanvas(canvas: HTMLCanvasElement, settings?: CanvasRenderingContext2DSettings): void;
|
|
1713
1713
|
removeArtifact(name: string): void;
|
|
1714
1714
|
removeAttribute(name: string): void;
|
|
1715
1715
|
removeProfile(profile: IImageProfile): void;
|
|
@@ -1970,7 +1970,7 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
|
|
|
1970
1970
|
read(color: IMagickColor, width: number, height: number): void;
|
|
1971
1971
|
read(fileName: string, settings?: MagickReadSettings): void;
|
|
1972
1972
|
read(array: ByteArray, settings?: MagickReadSettings): void;
|
|
1973
|
-
readFromCanvas(canvas: HTMLCanvasElement): void;
|
|
1973
|
+
readFromCanvas(canvas: HTMLCanvasElement, settings?: CanvasRenderingContext2DSettings): void;
|
|
1974
1974
|
removeArtifact(name: string): void;
|
|
1975
1975
|
removeAttribute(name: string): void;
|
|
1976
1976
|
removeProfile(profile: IImageProfile): void;
|
|
@@ -2061,8 +2061,8 @@ export declare class ImageMagick {
|
|
|
2061
2061
|
static readCollection<TReturnType>(fileName: string, settings: MagickReadSettings, func: (images: IMagickImageCollection) => Promise<TReturnType>): Promise<TReturnType>;
|
|
2062
2062
|
static readCollection<TReturnType>(fileName: string, func: (images: IMagickImageCollection) => TReturnType): TReturnType;
|
|
2063
2063
|
static readCollection<TReturnType>(fileName: string, func: (images: IMagickImageCollection) => Promise<TReturnType>): Promise<TReturnType>;
|
|
2064
|
-
static readFromCanvas<TReturnType>(canvas: HTMLCanvasElement, func: (image: IMagickImage) => TReturnType): TReturnType;
|
|
2065
|
-
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>;
|
|
2066
2066
|
}
|
|
2067
2067
|
export declare function initializeImageMagick(wasmLocationOrData: URL | ByteArray): Promise<void>;
|
|
2068
2068
|
export declare class MagickColors {
|