@imagemagick/magick-wasm 0.0.30 → 0.0.32

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-35 (2024-07-14) ] copyright:
10
+ [ ImageMagick 7.1.1-41 (2024-11-16) ] 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.9.1 (2024-06-10) ] copyright:
121
+ [ aom 3.10.0 (2024-08-27) ] copyright:
122
122
 
123
123
  Copyright (c) 2016, Alliance for Open Media. All rights reserved.
124
124
 
@@ -1050,9 +1050,10 @@ SOFTWARE.
1050
1050
 
1051
1051
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
1052
1052
 
1053
- [ deflate 1.20.0 (2024-03-23) ] copyright:
1053
+ [ deflate 1.22.0 (2024-10-05) ] copyright:
1054
1054
 
1055
1055
  Copyright 2016 Eric Biggers
1056
+ Copyright 2024 Google LLC
1056
1057
 
1057
1058
  Permission is hereby granted, free of charge, to any person
1058
1059
  obtaining a copy of this software and associated documentation files
@@ -1076,7 +1077,7 @@ SOFTWARE.
1076
1077
 
1077
1078
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
1078
1079
 
1079
- [ openexr 3.2.4 (2024-03-26) ] copyright:
1080
+ [ openexr 3.3.2 (2024-11-11) ] copyright:
1080
1081
 
1081
1082
  Copyright (c) Contributors to the OpenEXR Project. All rights reserved.
1082
1083
 
@@ -1090,7 +1091,7 @@ Redistribution and use in source and binary forms, with or without modification,
1090
1091
 
1091
1092
  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1092
1093
 
1093
- [ imath 3.1.11 (2024-02-29) ] copyright:
1094
+ [ imath 3.1.12 (2024-09-11) ] copyright:
1094
1095
 
1095
1096
  Copyright Contributors to the OpenEXR Project. All rights reserved.
1096
1097
 
@@ -1132,7 +1133,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1132
1133
 
1133
1134
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
1134
1135
 
1135
- [ freetype 2.13.2 (2023-08-25) ] copyright:
1136
+ [ freetype 2.13.3 (2024-08-12) ] copyright:
1136
1137
 
1137
1138
  The FreeType Project LICENSE
1138
1139
  ----------------------------
@@ -1813,7 +1814,7 @@ That's all there is to it!
1813
1814
 
1814
1815
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
1815
1816
 
1816
- [ heif 1.18.0 (2024-07-10) ] copyright:
1817
+ [ heif 1.19.3 (2024-11-11) ] copyright:
1817
1818
 
1818
1819
  * The library `libheif` is distributed under the terms of the GNU Lesser General Public License.
1819
1820
  * The sample applications are distributed under the terms of the MIT License.
@@ -3034,7 +3035,11 @@ that were granted to the IJG for code derived from their software.
3034
3035
 
3035
3036
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3036
3037
 
3037
- [ jpeg-xl 0.10.3 (2024-06-27) ] copyright:
3038
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3039
+
3040
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3041
+
3042
+ [ jpeg-xl 0.11.0 (2024-09-13) ] copyright:
3038
3043
 
3039
3044
  Copyright (c) the JPEG XL Project Authors.
3040
3045
  All rights reserved.
@@ -3307,7 +3312,7 @@ Library.
3307
3312
 
3308
3313
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3309
3314
 
3310
- [ png 1.6.43 (2024-02-23) ] copyright:
3315
+ [ png 1.6.44 (2024-09-12) ] copyright:
3311
3316
 
3312
3317
  COPYRIGHT NOTICE, DISCLAIMER, and LICENSE
3313
3318
  =========================================
@@ -3446,11 +3451,11 @@ be appreciated.
3446
3451
 
3447
3452
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3448
3453
 
3449
- [ raw 0.21.2 (2024-03-29 ] copyright:
3454
+ [ raw 0.21.3 (2024-09-24) ] copyright:
3450
3455
 
3451
3456
  ** LibRaw: Raw images processing library **
3452
3457
 
3453
- Copyright (C) 2008-2024 LibRaw LLC (http://www.libraw.org, info@libraw.org)
3458
+ Copyright (C) 2008-2021 LibRaw LLC (http://www.libraw.org, info@libraw.org)
3454
3459
 
3455
3460
  LibRaw is free software; you can redistribute it and/or modify
3456
3461
  it under the terms of the one of two licenses as you choose:
@@ -3478,7 +3483,7 @@ Copyright (c) 2005 Adobe Systems Incorporated, licensed under MIT license
3478
3483
 
3479
3484
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3480
3485
 
3481
- [ tiff 4.6.0 (2023-09-08) ] copyright:
3486
+ [ tiff 4.7.0 (2024-09-11) ] copyright:
3482
3487
 
3483
3488
  # LibTIFF license
3484
3489
 
@@ -3541,7 +3546,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3541
3546
 
3542
3547
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3543
3548
 
3544
- [ xml 2.13.2 (2024-07-04) ] copyright:
3549
+ [ xml 2.13.4 (2024-09-18) ] copyright:
3545
3550
 
3546
3551
  Except where otherwise noted in the source code (e.g. the files dict.c and
3547
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 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.30).
24
+ The release notes can be found on [GitHub](https://github.com/dlemstra/magick-wasm/releases/tag/0.0.32).
25
25
 
26
26
  ## Donate
27
27
 
package/dist/index.d.ts CHANGED
@@ -617,37 +617,6 @@ export declare enum Channels {
617
617
  Meta19 = 536870912,
618
618
  Meta20 = 1073741824,
619
619
  Meta21 = -2147483648,
620
- Meta22 = 1,
621
- Meta23 = 2,
622
- Meta24 = 4,
623
- Meta25 = 8,
624
- Meta26 = 16,
625
- Meta27 = 32,
626
- Meta28 = 64,
627
- Meta29 = 128,
628
- Meta30 = 256,
629
- Meta31 = 512,
630
- Meta32 = 1024,
631
- Meta33 = 2048,
632
- Meta34 = 4096,
633
- Meta35 = 8192,
634
- Meta36 = 16384,
635
- Meta37 = 32768,
636
- Meta38 = 65536,
637
- Meta39 = 131072,
638
- Meta40 = 262144,
639
- Meta41 = 524288,
640
- Meta42 = 1048576,
641
- Meta43 = 2097152,
642
- Meta44 = 4194304,
643
- Meta45 = 8388608,
644
- Meta46 = 16777216,
645
- Meta47 = 33554432,
646
- Meta48 = 67108864,
647
- Meta49 = 134217728,
648
- Meta50 = 268435456,
649
- Meta51 = 536870912,
650
- Meta52 = 1073741824,
651
620
  All = 134217727
652
621
  }
653
622
  export declare enum ColorSpace {
@@ -684,7 +653,13 @@ export declare enum ColorSpace {
684
653
  YIQ = 30,
685
654
  YPbPr = 31,
686
655
  YUV = 32,
687
- LinearGray = 33
656
+ LinearGray = 33,
657
+ Jzazbz = 34,
658
+ DisplayP3 = 35,
659
+ Adobe98 = 36,
660
+ ProPhoto = 37,
661
+ Oklab = 38,
662
+ Oklch = 39
688
663
  }
689
664
  export declare enum ComplexOperator {
690
665
  Undefined = 0,
@@ -743,6 +718,64 @@ export declare class MagickErrorInfo {
743
718
  readonly normalizedMaximumError: number;
744
719
  readonly normalizedMeanError: number;
745
720
  }
721
+ export interface IMagickGeometry {
722
+ readonly aspectRatio: boolean;
723
+ fillArea: boolean;
724
+ greater: boolean;
725
+ height: number;
726
+ ignoreAspectRatio: boolean;
727
+ isPercentage: boolean;
728
+ less: boolean;
729
+ limitPixels: boolean;
730
+ width: number;
731
+ x: number;
732
+ y: number;
733
+ }
734
+ export declare class MagickGeometry implements IMagickGeometry {
735
+ private readonly _includeXyInToString;
736
+ private _width;
737
+ private _height;
738
+ private _x;
739
+ private _y;
740
+ private _aspectRatio;
741
+ private _fillArea;
742
+ private _greater;
743
+ private _isPercentage;
744
+ private _ignoreAspectRatio;
745
+ private _less;
746
+ private _limitPixels;
747
+ constructor(value: string);
748
+ constructor(widthAndHeight: number);
749
+ constructor(width: number, height: number);
750
+ constructor(x: number, y: number, width: number, height: number);
751
+ get aspectRatio(): boolean;
752
+ get fillArea(): boolean;
753
+ set fillArea(value: boolean);
754
+ get greater(): boolean;
755
+ set greater(value: boolean);
756
+ get height(): number;
757
+ set height(value: number);
758
+ get ignoreAspectRatio(): boolean;
759
+ set ignoreAspectRatio(value: boolean);
760
+ get isPercentage(): boolean;
761
+ set isPercentage(value: boolean);
762
+ get less(): boolean;
763
+ set less(value: boolean);
764
+ get limitPixels(): boolean;
765
+ set limitPixels(value: boolean);
766
+ get width(): number;
767
+ set width(value: number);
768
+ get x(): number;
769
+ set x(value: number);
770
+ get y(): number;
771
+ set y(value: number);
772
+ toString(): string;
773
+ private initialize;
774
+ private initializeFromAspectRation;
775
+ private parseNumber;
776
+ private isNumber;
777
+ private hasFlag;
778
+ }
746
779
  export declare enum ColorType {
747
780
  Undefined = 0,
748
781
  Bilevel = 1,
@@ -787,6 +820,21 @@ export declare enum CompressionMethod {
787
820
  BC7 = 26,
788
821
  BC5 = 27
789
822
  }
823
+ export declare enum DensityUnit {
824
+ Undefined = 0,
825
+ PixelsPerInch = 1,
826
+ PixelsPerCentimeter = 2
827
+ }
828
+ export declare class Density {
829
+ constructor(xy: number);
830
+ constructor(xy: number, unit: DensityUnit);
831
+ constructor(x: number, y: number, units: DensityUnit);
832
+ readonly x: number;
833
+ readonly y: number;
834
+ readonly units: DensityUnit;
835
+ toString(units?: DensityUnit): string;
836
+ private static toString;
837
+ }
790
838
  export declare enum Endian {
791
839
  Undefined = 0,
792
840
  LSB = 1,
@@ -809,6 +857,7 @@ export declare class MagickSettings {
809
857
  colorType?: ColorType;
810
858
  compression?: CompressionMethod;
811
859
  debug?: boolean;
860
+ density?: Density;
812
861
  depth?: number;
813
862
  endian?: Endian;
814
863
  fillColor?: IMagickColor;
@@ -820,8 +869,8 @@ export declare class MagickSettings {
820
869
  strokeWidth?: number;
821
870
  textInterlineSpacing?: number;
822
871
  textKerning?: number;
823
- getDefine(name: string): string;
824
- getDefine(format: MagickFormat, name: string): string;
872
+ getDefine(name: string): string | null;
873
+ getDefine(format: MagickFormat, name: string): string | null;
825
874
  setDefine(name: string, value: string): void;
826
875
  setDefine(format: MagickFormat, name: string, value: string): void;
827
876
  setDefine(format: MagickFormat, name: string, value: number): void;
@@ -831,68 +880,17 @@ export declare class MagickSettings {
831
880
  }
832
881
  export declare class MagickReadSettings extends MagickSettings {
833
882
  constructor(partialSettings?: Partial<MagickReadSettings>);
883
+ extractArea?: MagickGeometry;
884
+ frameIndex?: number;
885
+ frameCount?: number;
834
886
  height?: number;
887
+ get syncImageWithExifProfile(): boolean;
888
+ set syncImageWithExifProfile(value: boolean);
889
+ get syncImageWithTiffProperties(): boolean;
890
+ set syncImageWithTiffProperties(value: boolean);
835
891
  width?: number;
836
892
  private getSize;
837
893
  }
838
- export interface IMagickGeometry {
839
- readonly aspectRatio: boolean;
840
- fillArea: boolean;
841
- greater: boolean;
842
- height: number;
843
- ignoreAspectRatio: boolean;
844
- isPercentage: boolean;
845
- less: boolean;
846
- limitPixels: boolean;
847
- width: number;
848
- x: number;
849
- y: number;
850
- }
851
- export declare class MagickGeometry implements IMagickGeometry {
852
- private readonly _includeXyInToString;
853
- private _width;
854
- private _height;
855
- private _x;
856
- private _y;
857
- private _aspectRatio;
858
- private _fillArea;
859
- private _greater;
860
- private _isPercentage;
861
- private _ignoreAspectRatio;
862
- private _less;
863
- private _limitPixels;
864
- constructor(value: string);
865
- constructor(widthAndHeight: number);
866
- constructor(width: number, height: number);
867
- constructor(x: number, y: number, width: number, height: number);
868
- get aspectRatio(): boolean;
869
- get fillArea(): boolean;
870
- set fillArea(value: boolean);
871
- get greater(): boolean;
872
- set greater(value: boolean);
873
- get height(): number;
874
- set height(value: number);
875
- get ignoreAspectRatio(): boolean;
876
- set ignoreAspectRatio(value: boolean);
877
- get isPercentage(): boolean;
878
- set isPercentage(value: boolean);
879
- get less(): boolean;
880
- set less(value: boolean);
881
- get limitPixels(): boolean;
882
- set limitPixels(value: boolean);
883
- get width(): number;
884
- set width(value: number);
885
- get x(): number;
886
- set x(value: number);
887
- get y(): number;
888
- set y(value: number);
889
- toString(): string;
890
- private initialize;
891
- private initializeFromAspectRation;
892
- private parseNumber;
893
- private isNumber;
894
- private hasFlag;
895
- }
896
894
  export declare class MontageSettings {
897
895
  backgroundColor?: IMagickColor;
898
896
  borderColor?: IMagickColor;
@@ -1076,6 +1074,33 @@ export declare enum ClassType {
1076
1074
  Direct = 1,
1077
1075
  Pseudo = 2
1078
1076
  }
1077
+ export interface IImageProfile {
1078
+ readonly name: string;
1079
+ readonly data: Uint8Array;
1080
+ }
1081
+ export declare class ImageProfile implements IImageProfile {
1082
+ constructor(name: string, data: Uint8Array);
1083
+ readonly name: string;
1084
+ readonly data: Uint8Array;
1085
+ }
1086
+ export interface IColorProfile extends IImageProfile {
1087
+ readonly colorSpace: ColorSpace;
1088
+ readonly copyright: string | null;
1089
+ readonly description: string | null;
1090
+ readonly manufacturer: string | null;
1091
+ readonly model: string | null;
1092
+ }
1093
+ export declare class ColorProfile extends ImageProfile implements IColorProfile {
1094
+ private _data?;
1095
+ constructor(data: Uint8Array);
1096
+ constructor(name: string, data: Uint8Array);
1097
+ get colorSpace(): ColorSpace;
1098
+ get copyright(): string | null;
1099
+ get description(): string | null;
1100
+ get manufacturer(): string | null;
1101
+ get model(): string | null;
1102
+ private initialize;
1103
+ }
1079
1104
  export declare class CompareResult {
1080
1105
  private constructor();
1081
1106
  readonly difference: IMagickImage;
@@ -1225,19 +1250,6 @@ export declare class ConnectedComponentsSettings {
1225
1250
  perimeterThreshold?: Threshold;
1226
1251
  constructor(connectivity: Connectivity);
1227
1252
  }
1228
- export declare enum DensityUnit {
1229
- Undefined = 0,
1230
- PixelsPerInch = 1,
1231
- PixelsPerCentimeter = 2
1232
- }
1233
- export declare class Density {
1234
- constructor(xy: number);
1235
- constructor(xy: number, unit: DensityUnit);
1236
- constructor(x: number, y: number, units: DensityUnit);
1237
- readonly x: number;
1238
- readonly y: number;
1239
- readonly units: DensityUnit;
1240
- }
1241
1253
  export declare enum DistortMethod {
1242
1254
  Undefined = 0,
1243
1255
  Affine = 1,
@@ -1307,15 +1319,6 @@ export declare enum GifDisposeMethod {
1307
1319
  Background = 2,
1308
1320
  Previous = 3
1309
1321
  }
1310
- export interface IImageProfile {
1311
- readonly name: string;
1312
- readonly data: Uint8Array;
1313
- }
1314
- export declare class ImageProfile implements IImageProfile {
1315
- constructor(name: string, data: Uint8Array);
1316
- readonly name: string;
1317
- readonly data: Uint8Array;
1318
- }
1319
1322
  export declare enum Kernel {
1320
1323
  Undefined = "Undefined",
1321
1324
  Unity = "Unity",
@@ -1390,6 +1393,16 @@ export declare class MorphologySettings {
1390
1393
  readonly kernel: string;
1391
1394
  readonly method: MorphologyMethod;
1392
1395
  }
1396
+ export declare enum NoiseType {
1397
+ Undefined = 0,
1398
+ Uniform = 1,
1399
+ Gaussian = 2,
1400
+ MultiplicativeGaussian = 3,
1401
+ Impulse = 4,
1402
+ Laplacian = 5,
1403
+ Poisson = 6,
1404
+ Random = 7
1405
+ }
1393
1406
  declare enum OrientationType$1 {
1394
1407
  Undefined = 0,
1395
1408
  TopLeft = 1,
@@ -1656,6 +1669,7 @@ export interface IMagickImage extends IDisposable {
1656
1669
  readonly isOpaque: boolean;
1657
1670
  label: string | null;
1658
1671
  matteColor: IMagickColor;
1672
+ metaChannelCount: number;
1659
1673
  orientation: OrientationType$1;
1660
1674
  onProgress?: (event: ProgressEvent$1) => void;
1661
1675
  onWarning?: (event: WarningEvent) => void;
@@ -1671,6 +1685,16 @@ export interface IMagickImage extends IDisposable {
1671
1685
  adaptiveBlur(): void;
1672
1686
  adaptiveBlur(radius: number): void;
1673
1687
  adaptiveBlur(radius: number, sigma: number): void;
1688
+ adaptiveResize(geometry: IMagickGeometry): void;
1689
+ adaptiveResize(width: number, height: number): void;
1690
+ adaptiveSharpen(): void;
1691
+ adaptiveSharpen(channels: Channels): void;
1692
+ adaptiveSharpen(radius: number, sigma: number): void;
1693
+ adaptiveSharpen(radius: number, sigma: number, channels: Channels): void;
1694
+ addNoise(noiseType: NoiseType): void;
1695
+ addNoise(noiseType: NoiseType, channels: Channels): void;
1696
+ addNoise(noiseType: NoiseType, attenuate: number): void;
1697
+ addNoise(noiseType: NoiseType, attenuate: number, channels: Channels): void;
1674
1698
  alpha(value: AlphaOption$1): void;
1675
1699
  autoGamma(): void;
1676
1700
  autoGamma(channels: Channels): void;
@@ -1766,6 +1790,7 @@ export interface IMagickImage extends IDisposable {
1766
1790
  gaussianBlur(radius: number, sigma: number, channels: Channels): void;
1767
1791
  getArtifact(name: string): string | null;
1768
1792
  getAttribute(name: string): string | null;
1793
+ getColorProfile(): IColorProfile | null;
1769
1794
  getPixels<TReturnType>(func: (pixels: IPixelCollection) => TReturnType): TReturnType;
1770
1795
  getPixels<TReturnType>(func: (pixels: IPixelCollection) => Promise<TReturnType>): Promise<TReturnType>;
1771
1796
  getProfile(name: string): IImageProfile | null;
@@ -1773,6 +1798,7 @@ export interface IMagickImage extends IDisposable {
1773
1798
  getWriteMask<TReturnType>(func: (mask: IMagickImage | null) => Promise<TReturnType>): Promise<TReturnType>;
1774
1799
  grayscale(): void;
1775
1800
  grayscale(method: PixelIntensityMethod): void;
1801
+ hasProfile(name: string): boolean;
1776
1802
  histogram(): Map<string, number>;
1777
1803
  inverseContrast(): void;
1778
1804
  inverseLevel(blackPoint: Percentage, whitePoint: Percentage): void;
@@ -1846,8 +1872,12 @@ export interface IMagickImage extends IDisposable {
1846
1872
  statistics(): IStatistics;
1847
1873
  statistics(channels: Channels): IStatistics;
1848
1874
  strip(): void;
1875
+ transformColorSpace(target: IColorProfile): boolean;
1876
+ transformColorSpace(source: IColorProfile, target: IColorProfile): boolean;
1849
1877
  threshold(percentage: Percentage): void;
1850
1878
  threshold(percentage: Percentage, channels: Channels): void;
1879
+ thumbnail(width: number, height: number): void;
1880
+ thumbnail(geometry: IMagickGeometry): void;
1851
1881
  toString(): string;
1852
1882
  transparent(color: IMagickColor): void;
1853
1883
  trim(): void;
@@ -1929,6 +1959,8 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
1929
1959
  set label(value: string | null);
1930
1960
  get matteColor(): IMagickColor;
1931
1961
  set matteColor(value: IMagickColor);
1962
+ get metaChannelCount(): number;
1963
+ set metaChannelCount(value: number);
1932
1964
  get orientation(): OrientationType$1;
1933
1965
  set orientation(value: OrientationType$1);
1934
1966
  get onProgress(): ((event: ProgressEvent$1) => number) | undefined;
@@ -1951,6 +1983,16 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
1951
1983
  adaptiveBlur(): void;
1952
1984
  adaptiveBlur(radius: number): void;
1953
1985
  adaptiveBlur(radius: number, sigma: number): void;
1986
+ adaptiveResize(geometry: IMagickGeometry): void;
1987
+ adaptiveResize(width: number, height: number): void;
1988
+ adaptiveSharpen(): void;
1989
+ adaptiveSharpen(channels: Channels): void;
1990
+ adaptiveSharpen(radius: number, sigma: number): void;
1991
+ adaptiveSharpen(radius: number, sigma: number, channels: Channels): void;
1992
+ addNoise(noiseType: NoiseType): void;
1993
+ addNoise(noiseType: NoiseType, channels: Channels): void;
1994
+ addNoise(noiseType: NoiseType, attenuate: number): void;
1995
+ addNoise(noiseType: NoiseType, attenuate: number, channels: Channels): void;
1954
1996
  alpha(value: AlphaOption$1): void;
1955
1997
  autoGamma(): void;
1956
1998
  autoLevel(): void;
@@ -2048,12 +2090,14 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
2048
2090
  gaussianBlur(radius: number, sigma: number, channels: Channels): void;
2049
2091
  getArtifact(name: string): string | null;
2050
2092
  getAttribute(name: string): string | null;
2093
+ getColorProfile(): IColorProfile | null;
2051
2094
  getPixels<TReturnType>(func: (pixels: IPixelCollection) => TReturnType): TReturnType;
2052
2095
  getPixels<TReturnType>(func: (pixels: IPixelCollection) => Promise<TReturnType>): Promise<TReturnType>;
2053
2096
  getProfile(name: string): IImageProfile | null;
2054
2097
  getWriteMask<TReturnType>(func: (mask: IMagickImage | null) => TReturnType): TReturnType;
2055
2098
  getWriteMask<TReturnType>(func: (mask: IMagickImage | null) => Promise<TReturnType>): Promise<TReturnType>;
2056
2099
  grayscale(method?: PixelIntensityMethod): void;
2100
+ hasProfile(name: string): boolean;
2057
2101
  histogram(): Map<string, number>;
2058
2102
  inverseContrast: () => void;
2059
2103
  inverseLevel(blackPoint: Percentage, whitePoint: Percentage): void;
@@ -2121,8 +2165,12 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
2121
2165
  statistics(): IStatistics;
2122
2166
  statistics(channels: Channels): IStatistics;
2123
2167
  strip(): void;
2168
+ transformColorSpace(target: IColorProfile): boolean;
2169
+ transformColorSpace(source: IColorProfile, target: IColorProfile): boolean;
2124
2170
  threshold(percentage: Percentage): void;
2125
2171
  threshold(percentage: Percentage, channels: Channels): void;
2172
+ thumbnail(width: number, height: number): void;
2173
+ thumbnail(geometry: IMagickGeometry): void;
2126
2174
  toString: () => string;
2127
2175
  transparent(color: IMagickColor): void;
2128
2176
  trim(): void;
@@ -2139,6 +2187,7 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
2139
2187
  writeToCanvas(canvas: HTMLCanvasElement, settings?: CanvasRenderingContext2DSettings): void;
2140
2188
  protected onDispose(): void;
2141
2189
  private _contrast;
2190
+ private _getProfile;
2142
2191
  private _opaque;
2143
2192
  private _sigmoidalContrast;
2144
2193
  private _transparent;
@@ -2470,6 +2519,7 @@ export declare class Magick {
2470
2519
  static get supportedFormats(): ReadonlyArray<IMagickFormatInfo>;
2471
2520
  static onLog?: (event: LogEvent) => void;
2472
2521
  static addFont(name: string, data: Uint8Array): void;
2522
+ static resetRandomSeed: () => void;
2473
2523
  static setRandomSeed: (seed: number) => void;
2474
2524
  static setLogEvents(eventTypes: LogEventTypes): void;
2475
2525
  private static getEventTypeString;