@imagemagick/magick-wasm 0.0.32 → 0.0.34

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/dist/index.d.ts CHANGED
@@ -17,280 +17,282 @@ export declare class ConfigurationFiles implements IConfigurationFiles {
17
17
  readonly log: IConfigurationFile;
18
18
  readonly policy: IConfigurationFile;
19
19
  }
20
- export declare enum MagickFormat {
21
- Unknown = "UNKNOWN",
22
- ThreeFr = "3FR",
23
- ThreeG2 = "3G2",
24
- ThreeGp = "3GP",
25
- A = "A",
26
- Aai = "AAI",
27
- Ai = "AI",
28
- APng = "APNG",
29
- Art = "ART",
30
- Arw = "ARW",
31
- Ashlar = "ASHLAR",
32
- Avi = "AVI",
33
- Avif = "AVIF",
34
- Avs = "AVS",
35
- B = "B",
36
- Bayer = "BAYER",
37
- Bayera = "BAYERA",
38
- Bgr = "BGR",
39
- Bgra = "BGRA",
40
- Bgro = "BGRO",
41
- Bmp = "BMP",
42
- Bmp2 = "BMP2",
43
- Bmp3 = "BMP3",
44
- Brf = "BRF",
45
- C = "C",
46
- Cal = "CAL",
47
- Cals = "CALS",
48
- Canvas = "CANVAS",
49
- Caption = "CAPTION",
50
- Cin = "CIN",
51
- Cip = "CIP",
52
- Clip = "CLIP",
53
- Cmyk = "CMYK",
54
- Cmyka = "CMYKA",
55
- Cr2 = "CR2",
56
- Cr3 = "CR3",
57
- Crw = "CRW",
58
- Cube = "CUBE",
59
- Cur = "CUR",
60
- Cut = "CUT",
61
- Data = "DATA",
62
- Dcm = "DCM",
63
- Dcr = "DCR",
64
- Dcraw = "DCRAW",
65
- Dcx = "DCX",
66
- Dds = "DDS",
67
- Dfont = "DFONT",
68
- Dng = "DNG",
69
- Dpx = "DPX",
70
- Dxt1 = "DXT1",
71
- Dxt5 = "DXT5",
72
- Epdf = "EPDF",
73
- Epi = "EPI",
74
- Eps = "EPS",
75
- Eps2 = "EPS2",
76
- Eps3 = "EPS3",
77
- Epsf = "EPSF",
78
- Epsi = "EPSI",
79
- Ept = "EPT",
80
- Ept2 = "EPT2",
81
- Ept3 = "EPT3",
82
- Erf = "ERF",
83
- Exr = "EXR",
84
- Farbfeld = "FARBFELD",
85
- Fax = "FAX",
86
- Ff = "FF",
87
- Fff = "FFF",
88
- File = "FILE",
89
- Fits = "FITS",
90
- Fl32 = "FL32",
91
- Flv = "FLV",
92
- Fractal = "FRACTAL",
93
- Ftp = "FTP",
94
- Fts = "FTS",
95
- Ftxt = "FTXT",
96
- G = "G",
97
- G3 = "G3",
98
- G4 = "G4",
99
- Gif = "GIF",
100
- Gif87 = "GIF87",
101
- Gradient = "GRADIENT",
102
- Gray = "GRAY",
103
- Graya = "GRAYA",
104
- Group4 = "GROUP4",
105
- Hald = "HALD",
106
- Hdr = "HDR",
107
- Heic = "HEIC",
108
- Heif = "HEIF",
109
- Histogram = "HISTOGRAM",
110
- Hrz = "HRZ",
111
- Htm = "HTM",
112
- Html = "HTML",
113
- Http = "HTTP",
114
- Https = "HTTPS",
115
- Icb = "ICB",
116
- Ico = "ICO",
117
- Icon = "ICON",
118
- Iiq = "IIQ",
119
- Info = "INFO",
120
- Inline = "INLINE",
121
- Ipl = "IPL",
122
- Isobrl = "ISOBRL",
123
- Isobrl6 = "ISOBRL6",
124
- J2c = "J2C",
125
- J2k = "J2K",
126
- Jng = "JNG",
127
- Jnx = "JNX",
128
- Jp2 = "JP2",
129
- Jpc = "JPC",
130
- Jpe = "JPE",
131
- Jpeg = "JPEG",
132
- Jpg = "JPG",
133
- Jpm = "JPM",
134
- Jps = "JPS",
135
- Jpt = "JPT",
136
- Json = "JSON",
137
- Jxl = "JXL",
138
- K = "K",
139
- K25 = "K25",
140
- Kdc = "KDC",
141
- Label = "LABEL",
142
- M = "M",
143
- M2v = "M2V",
144
- M4v = "M4V",
145
- Mac = "MAC",
146
- Map = "MAP",
147
- Mask = "MASK",
148
- Mat = "MAT",
149
- Matte = "MATTE",
150
- Mdc = "MDC",
151
- Mef = "MEF",
152
- Miff = "MIFF",
153
- Mkv = "MKV",
154
- Mng = "MNG",
155
- Mono = "MONO",
156
- Mov = "MOV",
157
- Mos = "MOS",
158
- Mp4 = "MP4",
159
- Mpc = "MPC",
160
- Mpeg = "MPEG",
161
- Mpg = "MPG",
162
- Mpo = "MPO",
163
- Mrw = "MRW",
164
- Msl = "MSL",
165
- Msvg = "MSVG",
166
- Mtv = "MTV",
167
- Mvg = "MVG",
168
- Nef = "NEF",
169
- Nrw = "NRW",
170
- Null = "NULL",
171
- O = "O",
172
- Ora = "ORA",
173
- Orf = "ORF",
174
- Otb = "OTB",
175
- Otf = "OTF",
176
- Pal = "PAL",
177
- Palm = "PALM",
178
- Pam = "PAM",
179
- Pango = "PANGO",
180
- Pattern = "PATTERN",
181
- Pbm = "PBM",
182
- Pcd = "PCD",
183
- Pcds = "PCDS",
184
- Pcl = "PCL",
185
- Pct = "PCT",
186
- Pcx = "PCX",
187
- Pdb = "PDB",
188
- Pdf = "PDF",
189
- Pdfa = "PDFA",
190
- Pef = "PEF",
191
- Pes = "PES",
192
- Pfa = "PFA",
193
- Pfb = "PFB",
194
- Pfm = "PFM",
195
- Pgm = "PGM",
196
- Pgx = "PGX",
197
- Phm = "PHM",
198
- Picon = "PICON",
199
- Pict = "PICT",
200
- Pix = "PIX",
201
- Pjpeg = "PJPEG",
202
- Plasma = "PLASMA",
203
- Png = "PNG",
204
- Png00 = "PNG00",
205
- Png24 = "PNG24",
206
- Png32 = "PNG32",
207
- Png48 = "PNG48",
208
- Png64 = "PNG64",
209
- Png8 = "PNG8",
210
- Pnm = "PNM",
211
- Pocketmod = "POCKETMOD",
212
- Ppm = "PPM",
213
- Ps = "PS",
214
- Ps2 = "PS2",
215
- Ps3 = "PS3",
216
- Psb = "PSB",
217
- Psd = "PSD",
218
- Ptif = "PTIF",
219
- Pwp = "PWP",
220
- Qoi = "QOI",
221
- R = "R",
222
- RadialGradient = "RADIAL-GRADIENT",
223
- Raf = "RAF",
224
- Ras = "RAS",
225
- Raw = "RAW",
226
- Rgb = "RGB",
227
- Rgb565 = "RGB565",
228
- Rgba = "RGBA",
229
- Rgbo = "RGBO",
230
- Rgf = "RGF",
231
- Rla = "RLA",
232
- Rle = "RLE",
233
- Rmf = "RMF",
234
- Rw2 = "RW2",
235
- Rwl = "RWL",
236
- Scr = "SCR",
237
- Screenshot = "SCREENSHOT",
238
- Sct = "SCT",
239
- Sfw = "SFW",
240
- Sgi = "SGI",
241
- Shtml = "SHTML",
242
- Six = "SIX",
243
- Sixel = "SIXEL",
244
- SparseColor = "SPARSE-COLOR",
245
- Sr2 = "SR2",
246
- Srf = "SRF",
247
- Srw = "SRW",
248
- Stegano = "STEGANO",
249
- Sti = "STI",
250
- StrImg = "STRIMG",
251
- Sun = "SUN",
252
- Svg = "SVG",
253
- Svgz = "SVGZ",
254
- Text = "TEXT",
255
- Tga = "TGA",
256
- Thumbnail = "THUMBNAIL",
257
- Tif = "TIF",
258
- Tiff = "TIFF",
259
- Tiff64 = "TIFF64",
260
- Tile = "TILE",
261
- Tim = "TIM",
262
- Tm2 = "TM2",
263
- Ttc = "TTC",
264
- Ttf = "TTF",
265
- Txt = "TXT",
266
- Ubrl = "UBRL",
267
- Ubrl6 = "UBRL6",
268
- Uil = "UIL",
269
- Uyvy = "UYVY",
270
- Vda = "VDA",
271
- Vicar = "VICAR",
272
- Vid = "VID",
273
- Viff = "VIFF",
274
- Vips = "VIPS",
275
- Vst = "VST",
276
- WebM = "WEBM",
277
- WebP = "WEBP",
278
- Wbmp = "WBMP",
279
- Wmv = "WMV",
280
- Wpg = "WPG",
281
- X3f = "X3F",
282
- Xbm = "XBM",
283
- Xc = "XC",
284
- Xcf = "XCF",
285
- Xpm = "XPM",
286
- Xps = "XPS",
287
- Xv = "XV",
288
- Y = "Y",
289
- Yaml = "YAML",
290
- Ycbcr = "YCBCR",
291
- Ycbcra = "YCBCRA",
292
- Yuv = "YUV"
293
- }
20
+ export declare const MagickFormat: {
21
+ readonly Unknown: "UNKNOWN";
22
+ readonly ThreeFr: "3FR";
23
+ readonly ThreeG2: "3G2";
24
+ readonly ThreeGp: "3GP";
25
+ readonly A: "A";
26
+ readonly Aai: "AAI";
27
+ readonly Ai: "AI";
28
+ readonly APng: "APNG";
29
+ readonly Art: "ART";
30
+ readonly Arw: "ARW";
31
+ readonly Ashlar: "ASHLAR";
32
+ readonly Avci: "AVCI";
33
+ readonly Avi: "AVI";
34
+ readonly Avif: "AVIF";
35
+ readonly Avs: "AVS";
36
+ readonly B: "B";
37
+ readonly Bayer: "BAYER";
38
+ readonly Bayera: "BAYERA";
39
+ readonly Bgr: "BGR";
40
+ readonly Bgra: "BGRA";
41
+ readonly Bgro: "BGRO";
42
+ readonly Bmp: "BMP";
43
+ readonly Bmp2: "BMP2";
44
+ readonly Bmp3: "BMP3";
45
+ readonly Brf: "BRF";
46
+ readonly C: "C";
47
+ readonly Cal: "CAL";
48
+ readonly Cals: "CALS";
49
+ readonly Canvas: "CANVAS";
50
+ readonly Caption: "CAPTION";
51
+ readonly Cin: "CIN";
52
+ readonly Cip: "CIP";
53
+ readonly Clip: "CLIP";
54
+ readonly Cmyk: "CMYK";
55
+ readonly Cmyka: "CMYKA";
56
+ readonly Cr2: "CR2";
57
+ readonly Cr3: "CR3";
58
+ readonly Crw: "CRW";
59
+ readonly Cube: "CUBE";
60
+ readonly Cur: "CUR";
61
+ readonly Cut: "CUT";
62
+ readonly Data: "DATA";
63
+ readonly Dcm: "DCM";
64
+ readonly Dcr: "DCR";
65
+ readonly Dcraw: "DCRAW";
66
+ readonly Dcx: "DCX";
67
+ readonly Dds: "DDS";
68
+ readonly Dfont: "DFONT";
69
+ readonly Dng: "DNG";
70
+ readonly Dpx: "DPX";
71
+ readonly Dxt1: "DXT1";
72
+ readonly Dxt5: "DXT5";
73
+ readonly Epdf: "EPDF";
74
+ readonly Epi: "EPI";
75
+ readonly Eps: "EPS";
76
+ readonly Eps2: "EPS2";
77
+ readonly Eps3: "EPS3";
78
+ readonly Epsf: "EPSF";
79
+ readonly Epsi: "EPSI";
80
+ readonly Ept: "EPT";
81
+ readonly Ept2: "EPT2";
82
+ readonly Ept3: "EPT3";
83
+ readonly Erf: "ERF";
84
+ readonly Exr: "EXR";
85
+ readonly Farbfeld: "FARBFELD";
86
+ readonly Fax: "FAX";
87
+ readonly Ff: "FF";
88
+ readonly Fff: "FFF";
89
+ readonly File: "FILE";
90
+ readonly Fits: "FITS";
91
+ readonly Fl32: "FL32";
92
+ readonly Flv: "FLV";
93
+ readonly Fractal: "FRACTAL";
94
+ readonly Ftp: "FTP";
95
+ readonly Fts: "FTS";
96
+ readonly Ftxt: "FTXT";
97
+ readonly G: "G";
98
+ readonly G3: "G3";
99
+ readonly G4: "G4";
100
+ readonly Gif: "GIF";
101
+ readonly Gif87: "GIF87";
102
+ readonly Gradient: "GRADIENT";
103
+ readonly Gray: "GRAY";
104
+ readonly Graya: "GRAYA";
105
+ readonly Group4: "GROUP4";
106
+ readonly Hald: "HALD";
107
+ readonly Hdr: "HDR";
108
+ readonly Heic: "HEIC";
109
+ readonly Heif: "HEIF";
110
+ readonly Histogram: "HISTOGRAM";
111
+ readonly Hrz: "HRZ";
112
+ readonly Htm: "HTM";
113
+ readonly Html: "HTML";
114
+ readonly Http: "HTTP";
115
+ readonly Https: "HTTPS";
116
+ readonly Icb: "ICB";
117
+ readonly Ico: "ICO";
118
+ readonly Icon: "ICON";
119
+ readonly Iiq: "IIQ";
120
+ readonly Info: "INFO";
121
+ readonly Inline: "INLINE";
122
+ readonly Ipl: "IPL";
123
+ readonly Isobrl: "ISOBRL";
124
+ readonly Isobrl6: "ISOBRL6";
125
+ readonly J2c: "J2C";
126
+ readonly J2k: "J2K";
127
+ readonly Jng: "JNG";
128
+ readonly Jnx: "JNX";
129
+ readonly Jp2: "JP2";
130
+ readonly Jpc: "JPC";
131
+ readonly Jpe: "JPE";
132
+ readonly Jpeg: "JPEG";
133
+ readonly Jpg: "JPG";
134
+ readonly Jpm: "JPM";
135
+ readonly Jps: "JPS";
136
+ readonly Jpt: "JPT";
137
+ readonly Json: "JSON";
138
+ readonly Jxl: "JXL";
139
+ readonly K: "K";
140
+ readonly K25: "K25";
141
+ readonly Kdc: "KDC";
142
+ readonly Label: "LABEL";
143
+ readonly M: "M";
144
+ readonly M2v: "M2V";
145
+ readonly M4v: "M4V";
146
+ readonly Mac: "MAC";
147
+ readonly Map: "MAP";
148
+ readonly Mask: "MASK";
149
+ readonly Mat: "MAT";
150
+ readonly Matte: "MATTE";
151
+ readonly Mdc: "MDC";
152
+ readonly Mef: "MEF";
153
+ readonly Miff: "MIFF";
154
+ readonly Mkv: "MKV";
155
+ readonly Mng: "MNG";
156
+ readonly Mono: "MONO";
157
+ readonly Mov: "MOV";
158
+ readonly Mos: "MOS";
159
+ readonly Mp4: "MP4";
160
+ readonly Mpc: "MPC";
161
+ readonly Mpeg: "MPEG";
162
+ readonly Mpg: "MPG";
163
+ readonly Mpo: "MPO";
164
+ readonly Mrw: "MRW";
165
+ readonly Msl: "MSL";
166
+ readonly Msvg: "MSVG";
167
+ readonly Mtv: "MTV";
168
+ readonly Mvg: "MVG";
169
+ readonly Nef: "NEF";
170
+ readonly Nrw: "NRW";
171
+ readonly Null: "NULL";
172
+ readonly O: "O";
173
+ readonly Ora: "ORA";
174
+ readonly Orf: "ORF";
175
+ readonly Otb: "OTB";
176
+ readonly Otf: "OTF";
177
+ readonly Pal: "PAL";
178
+ readonly Palm: "PALM";
179
+ readonly Pam: "PAM";
180
+ readonly Pango: "PANGO";
181
+ readonly Pattern: "PATTERN";
182
+ readonly Pbm: "PBM";
183
+ readonly Pcd: "PCD";
184
+ readonly Pcds: "PCDS";
185
+ readonly Pcl: "PCL";
186
+ readonly Pct: "PCT";
187
+ readonly Pcx: "PCX";
188
+ readonly Pdb: "PDB";
189
+ readonly Pdf: "PDF";
190
+ readonly Pdfa: "PDFA";
191
+ readonly Pef: "PEF";
192
+ readonly Pes: "PES";
193
+ readonly Pfa: "PFA";
194
+ readonly Pfb: "PFB";
195
+ readonly Pfm: "PFM";
196
+ readonly Pgm: "PGM";
197
+ readonly Pgx: "PGX";
198
+ readonly Phm: "PHM";
199
+ readonly Picon: "PICON";
200
+ readonly Pict: "PICT";
201
+ readonly Pix: "PIX";
202
+ readonly Pjpeg: "PJPEG";
203
+ readonly Plasma: "PLASMA";
204
+ readonly Png: "PNG";
205
+ readonly Png00: "PNG00";
206
+ readonly Png24: "PNG24";
207
+ readonly Png32: "PNG32";
208
+ readonly Png48: "PNG48";
209
+ readonly Png64: "PNG64";
210
+ readonly Png8: "PNG8";
211
+ readonly Pnm: "PNM";
212
+ readonly Pocketmod: "POCKETMOD";
213
+ readonly Ppm: "PPM";
214
+ readonly Ps: "PS";
215
+ readonly Ps2: "PS2";
216
+ readonly Ps3: "PS3";
217
+ readonly Psb: "PSB";
218
+ readonly Psd: "PSD";
219
+ readonly Ptif: "PTIF";
220
+ readonly Pwp: "PWP";
221
+ readonly Qoi: "QOI";
222
+ readonly R: "R";
223
+ readonly RadialGradient: "RADIAL-GRADIENT";
224
+ readonly Raf: "RAF";
225
+ readonly Ras: "RAS";
226
+ readonly Raw: "RAW";
227
+ readonly Rgb: "RGB";
228
+ readonly Rgb565: "RGB565";
229
+ readonly Rgba: "RGBA";
230
+ readonly Rgbo: "RGBO";
231
+ readonly Rgf: "RGF";
232
+ readonly Rla: "RLA";
233
+ readonly Rle: "RLE";
234
+ readonly Rmf: "RMF";
235
+ readonly Rw2: "RW2";
236
+ readonly Rwl: "RWL";
237
+ readonly Scr: "SCR";
238
+ readonly Screenshot: "SCREENSHOT";
239
+ readonly Sct: "SCT";
240
+ readonly Sfw: "SFW";
241
+ readonly Sgi: "SGI";
242
+ readonly Shtml: "SHTML";
243
+ readonly Six: "SIX";
244
+ readonly Sixel: "SIXEL";
245
+ readonly SparseColor: "SPARSE-COLOR";
246
+ readonly Sr2: "SR2";
247
+ readonly Srf: "SRF";
248
+ readonly Srw: "SRW";
249
+ readonly Stegano: "STEGANO";
250
+ readonly Sti: "STI";
251
+ readonly StrImg: "STRIMG";
252
+ readonly Sun: "SUN";
253
+ readonly Svg: "SVG";
254
+ readonly Svgz: "SVGZ";
255
+ readonly Text: "TEXT";
256
+ readonly Tga: "TGA";
257
+ readonly Thumbnail: "THUMBNAIL";
258
+ readonly Tif: "TIF";
259
+ readonly Tiff: "TIFF";
260
+ readonly Tiff64: "TIFF64";
261
+ readonly Tile: "TILE";
262
+ readonly Tim: "TIM";
263
+ readonly Tm2: "TM2";
264
+ readonly Ttc: "TTC";
265
+ readonly Ttf: "TTF";
266
+ readonly Txt: "TXT";
267
+ readonly Ubrl: "UBRL";
268
+ readonly Ubrl6: "UBRL6";
269
+ readonly Uil: "UIL";
270
+ readonly Uyvy: "UYVY";
271
+ readonly Vda: "VDA";
272
+ readonly Vicar: "VICAR";
273
+ readonly Vid: "VID";
274
+ readonly Viff: "VIFF";
275
+ readonly Vips: "VIPS";
276
+ readonly Vst: "VST";
277
+ readonly WebM: "WEBM";
278
+ readonly WebP: "WEBP";
279
+ readonly Wbmp: "WBMP";
280
+ readonly Wmv: "WMV";
281
+ readonly Wpg: "WPG";
282
+ readonly X3f: "X3F";
283
+ readonly Xbm: "XBM";
284
+ readonly Xc: "XC";
285
+ readonly Xcf: "XCF";
286
+ readonly Xpm: "XPM";
287
+ readonly Xps: "XPS";
288
+ readonly Xv: "XV";
289
+ readonly Y: "Y";
290
+ readonly Yaml: "YAML";
291
+ readonly Ycbcr: "YCBCR";
292
+ readonly Ycbcra: "YCBCRA";
293
+ readonly Yuv: "YUV";
294
+ };
295
+ export type MagickFormat = typeof MagickFormat[keyof typeof MagickFormat];
294
296
  export interface IDefine {
295
297
  readonly format: MagickFormat;
296
298
  readonly name: string;
@@ -317,19 +319,20 @@ export declare abstract class DefinesCreator implements IDefines {
317
319
  export interface IDisposable {
318
320
  dispose(): void;
319
321
  }
320
- export declare enum Gravity {
321
- Undefined = 0,
322
- Forget = 0,
323
- Northwest = 1,
324
- North = 2,
325
- Northeast = 3,
326
- West = 4,
327
- Center = 5,
328
- East = 6,
329
- Southwest = 7,
330
- South = 8,
331
- Southeast = 9
332
- }
322
+ export declare const Gravity: {
323
+ readonly Undefined: 0;
324
+ readonly Forget: 0;
325
+ readonly Northwest: 1;
326
+ readonly North: 2;
327
+ readonly Northeast: 3;
328
+ readonly West: 4;
329
+ readonly Center: 5;
330
+ readonly East: 6;
331
+ readonly Southwest: 7;
332
+ readonly South: 8;
333
+ readonly Southeast: 9;
334
+ };
335
+ export type Gravity = typeof Gravity[keyof typeof Gravity];
333
336
  export interface IMagickColor {
334
337
  r: number;
335
338
  g: number;
@@ -363,27 +366,30 @@ export declare abstract class NativeInstance {
363
366
  dispose(): void;
364
367
  private disposeInstance;
365
368
  }
366
- export declare enum PaintMethod {
367
- Undefined = 0,
368
- Point = 1,
369
- Replace = 2,
370
- Floodfill = 3,
371
- FillToBorder = 4,
372
- Reset = 5
373
- }
374
- export declare enum TextAlignment {
375
- Undefined = 0,
376
- Left = 1,
377
- Center = 2,
378
- Right = 3
379
- }
380
- export declare enum TextDecoration {
381
- Undefined = 0,
382
- None = 1,
383
- Underline = 2,
384
- Overline = 3,
385
- LineThrough = 4
386
- }
369
+ export declare const PaintMethod: {
370
+ readonly Undefined: 0;
371
+ readonly Point: 1;
372
+ readonly Replace: 2;
373
+ readonly Floodfill: 3;
374
+ readonly FillToBorder: 4;
375
+ readonly Reset: 5;
376
+ };
377
+ export type PaintMethod = typeof PaintMethod[keyof typeof PaintMethod];
378
+ export declare const TextAlignment: {
379
+ readonly Undefined: 0;
380
+ readonly Left: 1;
381
+ readonly Center: 2;
382
+ readonly Right: 3;
383
+ };
384
+ export type TextAlignment = typeof TextAlignment[keyof typeof TextAlignment];
385
+ export declare const TextDecoration: {
386
+ readonly Undefined: 0;
387
+ readonly None: 1;
388
+ readonly Underline: 2;
389
+ readonly Overline: 3;
390
+ readonly LineThrough: 4;
391
+ };
392
+ export type TextDecoration = typeof TextDecoration[keyof typeof TextDecoration];
387
393
  export interface IDrawingWand extends IDisposable {
388
394
  color(x: number, y: number, paintMethod: number): void;
389
395
  draw(drawables: IDrawable[]): void;
@@ -451,6 +457,7 @@ export declare class Percentage {
451
457
  constructor(value: number);
452
458
  multiply(value: number): number;
453
459
  toDouble(): number;
460
+ toString(): string;
454
461
  }
455
462
  export declare class DrawableFillOpacity implements IDrawable {
456
463
  private readonly _opacity;
@@ -558,160 +565,166 @@ export declare class DrawableText implements IDrawable {
558
565
  constructor(x: number, y: number, value: string);
559
566
  draw(wand: IDrawingWand): void;
560
567
  }
561
- declare enum AlphaOption$1 {
562
- Undefined = 0,
563
- Activate = 1,
564
- Associate = 2,
565
- Background = 3,
566
- Copy = 4,
567
- Deactivate = 5,
568
- Discrete = 6,
569
- Disassociate = 7,
570
- Extract = 8,
571
- Off = 9,
572
- On = 10,
573
- Opaque = 11,
574
- Remove = 12,
575
- Set = 13,
576
- Shape = 14,
577
- Transparent = 15,
578
- OffIfOpaque = 16
579
- }
580
- export declare enum Channels {
581
- Undefined = 0,
582
- Red = 1,
583
- Gray = 1,
584
- Cyan = 1,
585
- Green = 2,
586
- Magenta = 2,
587
- Blue = 4,
588
- Yellow = 4,
589
- Black = 8,
590
- Alpha = 16,
591
- Opacity = 16,
592
- Index = 32,
593
- Composite = 31,
594
- TrueAlpha = 256,
595
- RGB = 7,
596
- CMYK = 15,
597
- CMYKA = 31,
598
- Meta0 = 1024,
599
- Meta1 = 2048,
600
- Meta2 = 4096,
601
- Meta3 = 8192,
602
- Meta4 = 16384,
603
- Meta5 = 32768,
604
- Meta6 = 65536,
605
- Meta7 = 131072,
606
- Meta8 = 262144,
607
- Meta9 = 524288,
608
- Meta10 = 1048576,
609
- Meta11 = 2097152,
610
- Meta12 = 4194304,
611
- Meta13 = 8388608,
612
- Meta14 = 16777216,
613
- Meta15 = 33554432,
614
- Meta16 = 67108864,
615
- Meta17 = 134217728,
616
- Meta18 = 268435456,
617
- Meta19 = 536870912,
618
- Meta20 = 1073741824,
619
- Meta21 = -2147483648,
620
- All = 134217727
621
- }
622
- export declare enum ColorSpace {
623
- Undefined = 0,
624
- CMY = 1,
625
- CMYK = 2,
626
- Gray = 3,
627
- HCL = 4,
628
- HCLp = 5,
629
- HSB = 6,
630
- HSI = 7,
631
- HSL = 8,
632
- HSV = 9,
633
- HWB = 10,
634
- Lab = 11,
635
- LCH = 12,
636
- LCHab = 13,
637
- LCHuv = 14,
638
- Log = 15,
639
- LMS = 16,
640
- Luv = 17,
641
- OHTA = 18,
642
- Rec601YCbCr = 19,
643
- Rec709YCbCr = 20,
644
- RGB = 21,
645
- scRGB = 22,
646
- sRGB = 23,
647
- Transparent = 24,
648
- XyY = 25,
649
- XYZ = 26,
650
- YCbCr = 27,
651
- YCC = 28,
652
- YDbDr = 29,
653
- YIQ = 30,
654
- YPbPr = 31,
655
- YUV = 32,
656
- LinearGray = 33,
657
- Jzazbz = 34,
658
- DisplayP3 = 35,
659
- Adobe98 = 36,
660
- ProPhoto = 37,
661
- Oklab = 38,
662
- Oklch = 39
663
- }
664
- export declare enum ComplexOperator {
665
- Undefined = 0,
666
- Add = 1,
667
- Conjugate = 2,
668
- Divide = 3,
669
- MagnitudePhase = 4,
670
- Multiply = 5,
671
- RealImaginary = 6,
672
- Subtract = 7
673
- }
568
+ export declare const AlphaAction: {
569
+ readonly Undefined: 0;
570
+ readonly Activate: 1;
571
+ readonly Associate: 2;
572
+ readonly Background: 3;
573
+ readonly Copy: 4;
574
+ readonly Deactivate: 5;
575
+ readonly Discrete: 6;
576
+ readonly Disassociate: 7;
577
+ readonly Extract: 8;
578
+ readonly Off: 9;
579
+ readonly On: 10;
580
+ readonly Opaque: 11;
581
+ readonly Remove: 12;
582
+ readonly Set: 13;
583
+ readonly Shape: 14;
584
+ readonly Transparent: 15;
585
+ readonly OffIfOpaque: 16;
586
+ };
587
+ export type AlphaAction = typeof AlphaAction[keyof typeof AlphaAction];
588
+ export declare const Channels: {
589
+ readonly Undefined: 0;
590
+ readonly Red: 1;
591
+ readonly Gray: 1;
592
+ readonly Cyan: 1;
593
+ readonly Green: 2;
594
+ readonly Magenta: 2;
595
+ readonly Blue: 4;
596
+ readonly Yellow: 4;
597
+ readonly Black: 8;
598
+ readonly Alpha: 16;
599
+ readonly Opacity: 16;
600
+ readonly Index: 32;
601
+ readonly Composite: 31;
602
+ readonly TrueAlpha: 256;
603
+ readonly RGB: number;
604
+ readonly CMYK: number;
605
+ readonly CMYKA: number;
606
+ readonly Meta0: number;
607
+ readonly Meta1: number;
608
+ readonly Meta2: number;
609
+ readonly Meta3: number;
610
+ readonly Meta4: number;
611
+ readonly Meta5: number;
612
+ readonly Meta6: number;
613
+ readonly Meta7: number;
614
+ readonly Meta8: number;
615
+ readonly Meta9: number;
616
+ readonly Meta10: number;
617
+ readonly Meta11: number;
618
+ readonly Meta12: number;
619
+ readonly Meta13: number;
620
+ readonly Meta14: number;
621
+ readonly Meta15: number;
622
+ readonly Meta16: number;
623
+ readonly Meta17: number;
624
+ readonly Meta18: number;
625
+ readonly Meta19: number;
626
+ readonly Meta20: number;
627
+ readonly Meta21: number;
628
+ readonly All: 134217727;
629
+ };
630
+ export type Channels = typeof Channels[keyof typeof Channels];
631
+ export declare const ColorSpace: {
632
+ readonly Undefined: 0;
633
+ readonly CMY: 1;
634
+ readonly CMYK: 2;
635
+ readonly Gray: 3;
636
+ readonly HCL: 4;
637
+ readonly HCLp: 5;
638
+ readonly HSB: 6;
639
+ readonly HSI: 7;
640
+ readonly HSL: 8;
641
+ readonly HSV: 9;
642
+ readonly HWB: 10;
643
+ readonly Lab: 11;
644
+ readonly LCH: 12;
645
+ readonly LCHab: 13;
646
+ readonly LCHuv: 14;
647
+ readonly Log: 15;
648
+ readonly LMS: 16;
649
+ readonly Luv: 17;
650
+ readonly OHTA: 18;
651
+ readonly Rec601YCbCr: 19;
652
+ readonly Rec709YCbCr: 20;
653
+ readonly RGB: 21;
654
+ readonly scRGB: 22;
655
+ readonly sRGB: 23;
656
+ readonly Transparent: 24;
657
+ readonly XyY: 25;
658
+ readonly XYZ: 26;
659
+ readonly YCbCr: 27;
660
+ readonly YCC: 28;
661
+ readonly YDbDr: 29;
662
+ readonly YIQ: 30;
663
+ readonly YPbPr: 31;
664
+ readonly YUV: 32;
665
+ readonly LinearGray: 33;
666
+ readonly Jzazbz: 34;
667
+ readonly DisplayP3: 35;
668
+ readonly Adobe98: 36;
669
+ readonly ProPhoto: 37;
670
+ readonly Oklab: 38;
671
+ readonly Oklch: 39;
672
+ readonly CAT02LMSC: 40;
673
+ };
674
+ export type ColorSpace = typeof ColorSpace[keyof typeof ColorSpace];
675
+ export declare const ComplexOperator: {
676
+ readonly Undefined: 0;
677
+ readonly Add: 1;
678
+ readonly Conjugate: 2;
679
+ readonly Divide: 3;
680
+ readonly MagnitudePhase: 4;
681
+ readonly Multiply: 5;
682
+ readonly RealImaginary: 6;
683
+ readonly Subtract: 7;
684
+ };
685
+ export type ComplexOperator = typeof ComplexOperator[keyof typeof ComplexOperator];
674
686
  export declare class ComplexSettings {
675
687
  constructor(complexOperator: ComplexOperator);
676
688
  readonly complexOperator: ComplexOperator;
677
689
  signalToNoiseRatio?: number;
678
690
  }
679
- export declare enum EvaluateOperator {
680
- Undefined = 0,
681
- Abs = 1,
682
- Add = 2,
683
- AddModulus = 3,
684
- And = 4,
685
- Cosine = 5,
686
- Divide = 6,
687
- Exponential = 7,
688
- GaussianNoise = 8,
689
- ImpulseNoise = 9,
690
- LaplacianNoise = 10,
691
- LeftShift = 11,
692
- Log = 12,
693
- Max = 13,
694
- Mean = 14,
695
- Median = 15,
696
- Min = 16,
697
- MultiplicativeNoise = 17,
698
- Multiply = 18,
699
- Or = 19,
700
- PoissonNoise = 20,
701
- Pow = 21,
702
- RightShift = 22,
703
- RootMeanSquare = 23,
704
- Set = 24,
705
- Sine = 25,
706
- Subtract = 26,
707
- Sum = 27,
708
- ThresholdBlack = 28,
709
- Threshold = 29,
710
- ThresholdWhite = 30,
711
- UniformNoise = 31,
712
- Xor = 32,
713
- InverseLog = 33
714
- }
691
+ export declare const EvaluateOperator: {
692
+ readonly Undefined: 0;
693
+ readonly Abs: 1;
694
+ readonly Add: 2;
695
+ readonly AddModulus: 3;
696
+ readonly And: 4;
697
+ readonly Cosine: 5;
698
+ readonly Divide: 6;
699
+ readonly Exponential: 7;
700
+ readonly GaussianNoise: 8;
701
+ readonly ImpulseNoise: 9;
702
+ readonly LaplacianNoise: 10;
703
+ readonly LeftShift: 11;
704
+ readonly Log: 12;
705
+ readonly Max: 13;
706
+ readonly Mean: 14;
707
+ readonly Median: 15;
708
+ readonly Min: 16;
709
+ readonly MultiplicativeNoise: 17;
710
+ readonly Multiply: 18;
711
+ readonly Or: 19;
712
+ readonly PoissonNoise: 20;
713
+ readonly Pow: 21;
714
+ readonly RightShift: 22;
715
+ readonly RootMeanSquare: 23;
716
+ readonly Set: 24;
717
+ readonly Sine: 25;
718
+ readonly Subtract: 26;
719
+ readonly Sum: 27;
720
+ readonly ThresholdBlack: 28;
721
+ readonly Threshold: 29;
722
+ readonly ThresholdWhite: 30;
723
+ readonly UniformNoise: 31;
724
+ readonly Xor: 32;
725
+ readonly InverseLog: 33;
726
+ };
727
+ export type EvaluateOperator = typeof EvaluateOperator[keyof typeof EvaluateOperator];
715
728
  export declare class MagickErrorInfo {
716
729
  private constructor();
717
730
  readonly meanErrorPerPixel: number;
@@ -776,55 +789,58 @@ export declare class MagickGeometry implements IMagickGeometry {
776
789
  private isNumber;
777
790
  private hasFlag;
778
791
  }
779
- export declare enum ColorType {
780
- Undefined = 0,
781
- Bilevel = 1,
782
- Grayscale = 2,
783
- GrayscaleAlpha = 3,
784
- Palette = 4,
785
- PaletteAlpha = 5,
786
- TrueColor = 6,
787
- TrueColorAlpha = 7,
788
- ColorSeparation = 8,
789
- ColorSeparationAlpha = 9,
790
- Optimize = 10,
791
- PaletteBilevelAlpha = 11
792
- }
793
- export declare enum CompressionMethod {
794
- Undefined = 0,
795
- B44A = 1,
796
- B44 = 2,
797
- BZip = 3,
798
- DXT1 = 4,
799
- DXT3 = 5,
800
- DXT5 = 6,
801
- Fax = 7,
802
- Group4 = 8,
803
- JBIG1 = 9,
804
- JBIG2 = 10,
805
- JPEG2000 = 11,
806
- JPEG = 12,
807
- LosslessJPEG = 13,
808
- LZMA = 14,
809
- LZW = 15,
810
- NoCompression = 16,
811
- Piz = 17,
812
- Pxr24 = 18,
813
- RLE = 19,
814
- Zip = 20,
815
- ZipS = 21,
816
- Zstd = 22,
817
- WebP = 23,
818
- DWAA = 24,
819
- DWAB = 25,
820
- BC7 = 26,
821
- BC5 = 27
822
- }
823
- export declare enum DensityUnit {
824
- Undefined = 0,
825
- PixelsPerInch = 1,
826
- PixelsPerCentimeter = 2
827
- }
792
+ export declare const ColorType: {
793
+ readonly Undefined: 0;
794
+ readonly Bilevel: 1;
795
+ readonly Grayscale: 2;
796
+ readonly GrayscaleAlpha: 3;
797
+ readonly Palette: 4;
798
+ readonly PaletteAlpha: 5;
799
+ readonly TrueColor: 6;
800
+ readonly TrueColorAlpha: 7;
801
+ readonly ColorSeparation: 8;
802
+ readonly ColorSeparationAlpha: 9;
803
+ readonly Optimize: 10;
804
+ readonly PaletteBilevelAlpha: 11;
805
+ };
806
+ export type ColorType = typeof ColorType[keyof typeof ColorType];
807
+ export declare const CompressionMethod: {
808
+ readonly Undefined: 0;
809
+ readonly B44A: 1;
810
+ readonly B44: 2;
811
+ readonly BZip: 3;
812
+ readonly DXT1: 4;
813
+ readonly DXT3: 5;
814
+ readonly DXT5: 6;
815
+ readonly Fax: 7;
816
+ readonly Group4: 8;
817
+ readonly JBIG1: 9;
818
+ readonly JBIG2: 10;
819
+ readonly JPEG2000: 11;
820
+ readonly JPEG: 12;
821
+ readonly LosslessJPEG: 13;
822
+ readonly LZMA: 14;
823
+ readonly LZW: 15;
824
+ readonly NoCompression: 16;
825
+ readonly Piz: 17;
826
+ readonly Pxr24: 18;
827
+ readonly RLE: 19;
828
+ readonly Zip: 20;
829
+ readonly ZipS: 21;
830
+ readonly Zstd: 22;
831
+ readonly WebP: 23;
832
+ readonly DWAA: 24;
833
+ readonly DWAB: 25;
834
+ readonly BC7: 26;
835
+ readonly BC5: 27;
836
+ };
837
+ export type CompressionMethod = typeof CompressionMethod[keyof typeof CompressionMethod];
838
+ export declare const DensityUnit: {
839
+ readonly Undefined: 0;
840
+ readonly PixelsPerInch: 1;
841
+ readonly PixelsPerCentimeter: 2;
842
+ };
843
+ export type DensityUnit = typeof DensityUnit[keyof typeof DensityUnit];
828
844
  export declare class Density {
829
845
  constructor(xy: number);
830
846
  constructor(xy: number, unit: DensityUnit);
@@ -835,21 +851,23 @@ export declare class Density {
835
851
  toString(units?: DensityUnit): string;
836
852
  private static toString;
837
853
  }
838
- export declare enum Endian {
839
- Undefined = 0,
840
- LSB = 1,
841
- MSB = 2
842
- }
843
- export declare enum Interlace {
844
- Undefined = 0,
845
- NoInterlace = 1,
846
- Line = 2,
847
- Plane = 3,
848
- Partition = 4,
849
- Gif = 5,
850
- Jpeg = 6,
851
- Png = 7
852
- }
854
+ export declare const Endian: {
855
+ readonly Undefined: 0;
856
+ readonly LSB: 1;
857
+ readonly MSB: 2;
858
+ };
859
+ export type Endian = typeof Endian[keyof typeof Endian];
860
+ export declare const Interlace: {
861
+ readonly Undefined: 0;
862
+ readonly NoInterlace: 1;
863
+ readonly Line: 2;
864
+ readonly Plane: 3;
865
+ readonly Partition: 4;
866
+ readonly Gif: 5;
867
+ readonly Jpeg: 6;
868
+ readonly Png: 7;
869
+ };
870
+ export type Interlace = typeof Interlace[keyof typeof Interlace];
853
871
  export declare class MagickSettings {
854
872
  antiAlias?: boolean;
855
873
  backgroundColor?: IMagickColor;
@@ -909,12 +927,13 @@ export declare class MontageSettings {
909
927
  title?: string;
910
928
  transparentColor?: IMagickColor;
911
929
  }
912
- export declare enum DitherMethod {
913
- Undefined = 0,
914
- No = 1,
915
- Riemersma = 2,
916
- FloydSteinberg = 3
917
- }
930
+ export declare const DitherMethod: {
931
+ readonly Undefined: 0;
932
+ readonly No: 1;
933
+ readonly Riemersma: 2;
934
+ readonly FloydSteinberg: 3;
935
+ };
936
+ export type DitherMethod = typeof DitherMethod[keyof typeof DitherMethod];
918
937
  export declare class QuantizeSettings {
919
938
  constructor();
920
939
  colors: number;
@@ -1050,12 +1069,13 @@ export type ImageCallback<TReturnType> = (image: IMagickImage) => TReturnType |
1050
1069
  export type AsyncImageCollectionCallback<TReturnType> = (images: IMagickImageCollection) => Promise<TReturnType>;
1051
1070
  export type SyncImageCollectionCallback<TReturnType> = (images: IMagickImageCollection) => TReturnType;
1052
1071
  export type ImageCollectionCallback<TReturnType> = (images: IMagickImageCollection) => TReturnType | Promise<TReturnType>;
1053
- export declare enum AutoThresholdMethod {
1054
- Undefined = 0,
1055
- Kapur = 1,
1056
- OTSU = 2,
1057
- Triangle = 3
1058
- }
1072
+ export declare const AutoThresholdMethod: {
1073
+ readonly Undefined: 0;
1074
+ readonly Kapur: 1;
1075
+ readonly OTSU: 2;
1076
+ readonly Triangle: 3;
1077
+ };
1078
+ export type AutoThresholdMethod = typeof AutoThresholdMethod[keyof typeof AutoThresholdMethod];
1059
1079
  export declare class PrimaryInfo {
1060
1080
  constructor(x: number, y: number, z: number);
1061
1081
  readonly x: number;
@@ -1069,11 +1089,12 @@ export declare class ChromaticityInfo {
1069
1089
  readonly blue: PrimaryInfo;
1070
1090
  readonly white: PrimaryInfo;
1071
1091
  }
1072
- export declare enum ClassType {
1073
- Undefined = 0,
1074
- Direct = 1,
1075
- Pseudo = 2
1076
- }
1092
+ export declare const ClassType: {
1093
+ readonly Undefined: 0;
1094
+ readonly Direct: 1;
1095
+ readonly Pseudo: 2;
1096
+ };
1097
+ export type ClassType = typeof ClassType[keyof typeof ClassType];
1077
1098
  export interface IImageProfile {
1078
1099
  readonly name: string;
1079
1100
  readonly data: Uint8Array;
@@ -1093,7 +1114,6 @@ export interface IColorProfile extends IImageProfile {
1093
1114
  export declare class ColorProfile extends ImageProfile implements IColorProfile {
1094
1115
  private _data?;
1095
1116
  constructor(data: Uint8Array);
1096
- constructor(name: string, data: Uint8Array);
1097
1117
  get colorSpace(): ColorSpace;
1098
1118
  get copyright(): string | null;
1099
1119
  get description(): string | null;
@@ -1101,26 +1121,32 @@ export declare class ColorProfile extends ImageProfile implements IColorProfile
1101
1121
  get model(): string | null;
1102
1122
  private initialize;
1103
1123
  }
1124
+ export declare const ColorTransformMode: {
1125
+ readonly HighRes: 0;
1126
+ readonly Quantum: 1;
1127
+ };
1128
+ export type ColorTransformMode = typeof ColorTransformMode[keyof typeof ColorTransformMode];
1104
1129
  export declare class CompareResult {
1105
1130
  private constructor();
1106
1131
  readonly difference: IMagickImage;
1107
1132
  readonly distortion: number;
1108
1133
  }
1109
- export declare enum ErrorMetric {
1110
- Undefined = 0,
1111
- Absolute = 1,
1112
- Fuzz = 2,
1113
- MeanAbsolute = 3,
1114
- MeanErrorPerPixel = 4,
1115
- MeanSquared = 5,
1116
- NormalizedCrossCorrelation = 6,
1117
- PeakAbsolute = 7,
1118
- PeakSignalToNoiseRatio = 8,
1119
- PerceptualHash = 9,
1120
- RootMeanSquared = 10,
1121
- StructuralSimilarity = 11,
1122
- StructuralDissimilarity = 12
1123
- }
1134
+ export declare const ErrorMetric: {
1135
+ readonly Undefined: 0;
1136
+ readonly Absolute: 1;
1137
+ readonly Fuzz: 2;
1138
+ readonly MeanAbsolute: 3;
1139
+ readonly MeanErrorPerPixel: 4;
1140
+ readonly MeanSquared: 5;
1141
+ readonly NormalizedCrossCorrelation: 6;
1142
+ readonly PeakAbsolute: 7;
1143
+ readonly PeakSignalToNoiseRatio: 8;
1144
+ readonly PerceptualHash: 9;
1145
+ readonly RootMeanSquared: 10;
1146
+ readonly StructuralSimilarity: 11;
1147
+ readonly StructuralDissimilarity: 12;
1148
+ };
1149
+ export type ErrorMetric = typeof ErrorMetric[keyof typeof ErrorMetric];
1124
1150
  export declare class CompareSettings {
1125
1151
  constructor(metric: ErrorMetric);
1126
1152
  readonly metric: ErrorMetric;
@@ -1128,90 +1154,91 @@ export declare class CompareSettings {
1128
1154
  lowlightColor?: IMagickColor;
1129
1155
  masklightColor?: IMagickColor;
1130
1156
  }
1131
- export declare enum CompositeOperator {
1132
- Undefined = 0,
1133
- Alpha = 1,
1134
- Atop = 2,
1135
- Blend = 3,
1136
- Blur = 4,
1137
- Bumpmap = 5,
1138
- ChangeMask = 6,
1139
- Clear = 7,
1140
- ColorBurn = 8,
1141
- ColorDodge = 9,
1142
- Colorize = 10,
1143
- CopyBlack = 11,
1144
- CopyBlue = 12,
1145
- Copy = 13,
1146
- CopyCyan = 14,
1147
- CopyGreen = 15,
1148
- CopyMagenta = 16,
1149
- CopyAlpha = 17,
1150
- CopyRed = 18,
1151
- CopyYellow = 19,
1152
- Darken = 20,
1153
- DarkenIntensity = 21,
1154
- Difference = 22,
1155
- Displace = 23,
1156
- Dissolve = 24,
1157
- Distort = 25,
1158
- DivideDst = 26,
1159
- DivideSrc = 27,
1160
- DstAtop = 28,
1161
- Dst = 29,
1162
- DstIn = 30,
1163
- DstOut = 31,
1164
- DstOver = 32,
1165
- Exclusion = 33,
1166
- HardLight = 34,
1167
- HardMix = 35,
1168
- Hue = 36,
1169
- In = 37,
1170
- Intensity = 38,
1171
- Lighten = 39,
1172
- LightenIntensity = 40,
1173
- LinearBurn = 41,
1174
- LinearDodge = 42,
1175
- LinearLight = 43,
1176
- Luminize = 44,
1177
- Mathematics = 45,
1178
- MinusDst = 46,
1179
- MinusSrc = 47,
1180
- Modulate = 48,
1181
- ModulusAdd = 49,
1182
- ModulusSubtract = 50,
1183
- Multiply = 51,
1184
- No = 52,
1185
- Out = 53,
1186
- Over = 54,
1187
- Overlay = 55,
1188
- PegtopLight = 56,
1189
- PinLight = 57,
1190
- Plus = 58,
1191
- Replace = 59,
1192
- Saturate = 60,
1193
- Screen = 61,
1194
- SoftLight = 62,
1195
- SrcAtop = 63,
1196
- Src = 64,
1197
- SrcIn = 65,
1198
- SrcOut = 66,
1199
- SrcOver = 67,
1200
- Threshold = 68,
1201
- VividLight = 69,
1202
- Xor = 70,
1203
- Stereo = 71,
1204
- Freeze = 72,
1205
- Interpolate = 73,
1206
- Negate = 74,
1207
- Reflect = 75,
1208
- SoftBurn = 76,
1209
- SoftDodge = 77,
1210
- Stamp = 78,
1211
- RMSE = 79,
1212
- SaliencyBlend = 80,
1213
- SeamlessBlend = 81
1214
- }
1157
+ export declare const CompositeOperator: {
1158
+ readonly Undefined: 0;
1159
+ readonly Alpha: 1;
1160
+ readonly Atop: 2;
1161
+ readonly Blend: 3;
1162
+ readonly Blur: 4;
1163
+ readonly Bumpmap: 5;
1164
+ readonly ChangeMask: 6;
1165
+ readonly Clear: 7;
1166
+ readonly ColorBurn: 8;
1167
+ readonly ColorDodge: 9;
1168
+ readonly Colorize: 10;
1169
+ readonly CopyBlack: 11;
1170
+ readonly CopyBlue: 12;
1171
+ readonly Copy: 13;
1172
+ readonly CopyCyan: 14;
1173
+ readonly CopyGreen: 15;
1174
+ readonly CopyMagenta: 16;
1175
+ readonly CopyAlpha: 17;
1176
+ readonly CopyRed: 18;
1177
+ readonly CopyYellow: 19;
1178
+ readonly Darken: 20;
1179
+ readonly DarkenIntensity: 21;
1180
+ readonly Difference: 22;
1181
+ readonly Displace: 23;
1182
+ readonly Dissolve: 24;
1183
+ readonly Distort: 25;
1184
+ readonly DivideDst: 26;
1185
+ readonly DivideSrc: 27;
1186
+ readonly DstAtop: 28;
1187
+ readonly Dst: 29;
1188
+ readonly DstIn: 30;
1189
+ readonly DstOut: 31;
1190
+ readonly DstOver: 32;
1191
+ readonly Exclusion: 33;
1192
+ readonly HardLight: 34;
1193
+ readonly HardMix: 35;
1194
+ readonly Hue: 36;
1195
+ readonly In: 37;
1196
+ readonly Intensity: 38;
1197
+ readonly Lighten: 39;
1198
+ readonly LightenIntensity: 40;
1199
+ readonly LinearBurn: 41;
1200
+ readonly LinearDodge: 42;
1201
+ readonly LinearLight: 43;
1202
+ readonly Luminize: 44;
1203
+ readonly Mathematics: 45;
1204
+ readonly MinusDst: 46;
1205
+ readonly MinusSrc: 47;
1206
+ readonly Modulate: 48;
1207
+ readonly ModulusAdd: 49;
1208
+ readonly ModulusSubtract: 50;
1209
+ readonly Multiply: 51;
1210
+ readonly No: 52;
1211
+ readonly Out: 53;
1212
+ readonly Over: 54;
1213
+ readonly Overlay: 55;
1214
+ readonly PegtopLight: 56;
1215
+ readonly PinLight: 57;
1216
+ readonly Plus: 58;
1217
+ readonly Replace: 59;
1218
+ readonly Saturate: 60;
1219
+ readonly Screen: 61;
1220
+ readonly SoftLight: 62;
1221
+ readonly SrcAtop: 63;
1222
+ readonly Src: 64;
1223
+ readonly SrcIn: 65;
1224
+ readonly SrcOut: 66;
1225
+ readonly SrcOver: 67;
1226
+ readonly Threshold: 68;
1227
+ readonly VividLight: 69;
1228
+ readonly Xor: 70;
1229
+ readonly Stereo: 71;
1230
+ readonly Freeze: 72;
1231
+ readonly Interpolate: 73;
1232
+ readonly Negate: 74;
1233
+ readonly Reflect: 75;
1234
+ readonly SoftBurn: 76;
1235
+ readonly SoftDodge: 77;
1236
+ readonly Stamp: 78;
1237
+ readonly RMSE: 79;
1238
+ readonly SaliencyBlend: 80;
1239
+ readonly SeamlessBlend: 81;
1240
+ };
1241
+ export type CompositeOperator = typeof CompositeOperator[keyof typeof CompositeOperator];
1215
1242
  export declare class Point {
1216
1243
  constructor(xy: number);
1217
1244
  constructor(x: number, y: number);
@@ -1250,28 +1277,29 @@ export declare class ConnectedComponentsSettings {
1250
1277
  perimeterThreshold?: Threshold;
1251
1278
  constructor(connectivity: Connectivity);
1252
1279
  }
1253
- export declare enum DistortMethod {
1254
- Undefined = 0,
1255
- Affine = 1,
1256
- AffineProjection = 2,
1257
- ScaleRotateTranslate = 3,
1258
- Perspective = 4,
1259
- PerspectiveProjection = 5,
1260
- BilinearForward = 6,
1261
- BilinearReverse = 7,
1262
- Polynomial = 8,
1263
- Arc = 9,
1264
- Polar = 10,
1265
- DePolar = 11,
1266
- Cylinder2Plane = 12,
1267
- Plane2Cylinder = 13,
1268
- Barrel = 14,
1269
- BarrelInverse = 15,
1270
- Shepards = 16,
1271
- Resize = 17,
1272
- Sentinel = 18,
1273
- RigidAffine = 19
1274
- }
1280
+ export declare const DistortMethod: {
1281
+ readonly Undefined: 0;
1282
+ readonly Affine: 1;
1283
+ readonly AffineProjection: 2;
1284
+ readonly ScaleRotateTranslate: 3;
1285
+ readonly Perspective: 4;
1286
+ readonly PerspectiveProjection: 5;
1287
+ readonly BilinearForward: 6;
1288
+ readonly BilinearReverse: 7;
1289
+ readonly Polynomial: 8;
1290
+ readonly Arc: 9;
1291
+ readonly Polar: 10;
1292
+ readonly DePolar: 11;
1293
+ readonly Cylinder2Plane: 12;
1294
+ readonly Plane2Cylinder: 13;
1295
+ readonly Barrel: 14;
1296
+ readonly BarrelInverse: 15;
1297
+ readonly Shepards: 16;
1298
+ readonly Resize: 17;
1299
+ readonly Sentinel: 18;
1300
+ readonly RigidAffine: 19;
1301
+ };
1302
+ export type DistortMethod = typeof DistortMethod[keyof typeof DistortMethod];
1275
1303
  export declare class DistortSettings {
1276
1304
  constructor(method: DistortMethod);
1277
1305
  readonly method: DistortMethod;
@@ -1279,111 +1307,115 @@ export declare class DistortSettings {
1279
1307
  scale?: number;
1280
1308
  viewport?: IMagickGeometry;
1281
1309
  }
1282
- export declare enum FilterType {
1283
- Undefined = 0,
1284
- Point = 1,
1285
- Box = 2,
1286
- Triangle = 3,
1287
- Hermite = 4,
1288
- Hann = 5,
1289
- Hamming = 6,
1290
- Blackman = 7,
1291
- Gaussian = 8,
1292
- Quadratic = 9,
1293
- Cubic = 10,
1294
- Catrom = 11,
1295
- Mitchell = 12,
1296
- Jinc = 13,
1297
- Sinc = 14,
1298
- SincFast = 15,
1299
- Kaiser = 16,
1300
- Welch = 17,
1301
- Parzen = 18,
1302
- Bohman = 19,
1303
- Bartlett = 20,
1304
- Lagrange = 21,
1305
- Lanczos = 22,
1306
- LanczosSharp = 23,
1307
- Lanczos2 = 24,
1308
- Lanczos2Sharp = 25,
1309
- Robidoux = 26,
1310
- RobidouxSharp = 27,
1311
- Cosine = 28,
1312
- Spline = 29,
1313
- LanczosRadius = 30,
1314
- CubicSpline = 31
1315
- }
1316
- export declare enum GifDisposeMethod {
1317
- Undefined = 0,
1318
- None = 1,
1319
- Background = 2,
1320
- Previous = 3
1321
- }
1322
- export declare enum Kernel {
1323
- Undefined = "Undefined",
1324
- Unity = "Unity",
1325
- Gaussian = "Gaussian",
1326
- DoG = "DoG",
1327
- LoG = "LoG",
1328
- Blur = "Blur",
1329
- Comet = "Comet",
1330
- Binomial = "Binomial",
1331
- Laplacian = "Laplacian",
1332
- Sobel = "Sobel",
1333
- FreiChen = "FreiChen",
1334
- Roberts = "Roberts",
1335
- Prewitt = "Prewitt",
1336
- Compass = "Compass",
1337
- Kirsch = "Kirsch",
1338
- Diamond = "Diamond",
1339
- Square = "Square",
1340
- Rectangle = "Rectangle",
1341
- Octagon = "Octagon",
1342
- Disk = "Disk",
1343
- Plus = "Plus",
1344
- Cross = "Cross",
1345
- Ring = "Ring",
1346
- Peaks = "Peaks",
1347
- Edges = "Edges",
1348
- Corners = "Corners",
1349
- Diagonals = "Diagonals",
1350
- LineEnds = "LineEnds",
1351
- LineJunctions = "LineJunctions",
1352
- Ridges = "Ridges",
1353
- ConvexHull = "ConvexHull",
1354
- ThinSE = "ThinSE",
1355
- Skeleton = "Skeleton",
1356
- Chebyshev = "Chebyshev",
1357
- Manhattan = "Manhattan",
1358
- Octagonal = "Octagonal",
1359
- Euclidean = "Euclidean",
1360
- UserDefined = "UserDefined"
1361
- }
1362
- export declare enum MorphologyMethod {
1363
- Undefined = 0,
1364
- Convolve = 1,
1365
- Correlate = 2,
1366
- Erode = 3,
1367
- Dilate = 4,
1368
- ErodeIntensity = 5,
1369
- DilateIntensity = 6,
1370
- IterativeDistance = 7,
1371
- Open = 8,
1372
- Close = 9,
1373
- OpenIntensity = 10,
1374
- CloseIntensity = 11,
1375
- Smooth = 12,
1376
- EdgeIn = 13,
1377
- EdgeOut = 14,
1378
- Edge = 15,
1379
- TopHat = 16,
1380
- BottomHat = 17,
1381
- HitAndMiss = 18,
1382
- Thinning = 19,
1383
- Thicken = 20,
1384
- Distance = 21,
1385
- Voronoi = 22
1386
- }
1310
+ export declare const FilterType: {
1311
+ readonly Undefined: 0;
1312
+ readonly Point: 1;
1313
+ readonly Box: 2;
1314
+ readonly Triangle: 3;
1315
+ readonly Hermite: 4;
1316
+ readonly Hann: 5;
1317
+ readonly Hamming: 6;
1318
+ readonly Blackman: 7;
1319
+ readonly Gaussian: 8;
1320
+ readonly Quadratic: 9;
1321
+ readonly Cubic: 10;
1322
+ readonly Catrom: 11;
1323
+ readonly Mitchell: 12;
1324
+ readonly Jinc: 13;
1325
+ readonly Sinc: 14;
1326
+ readonly SincFast: 15;
1327
+ readonly Kaiser: 16;
1328
+ readonly Welch: 17;
1329
+ readonly Parzen: 18;
1330
+ readonly Bohman: 19;
1331
+ readonly Bartlett: 20;
1332
+ readonly Lagrange: 21;
1333
+ readonly Lanczos: 22;
1334
+ readonly LanczosSharp: 23;
1335
+ readonly Lanczos2: 24;
1336
+ readonly Lanczos2Sharp: 25;
1337
+ readonly Robidoux: 26;
1338
+ readonly RobidouxSharp: 27;
1339
+ readonly Cosine: 28;
1340
+ readonly Spline: 29;
1341
+ readonly LanczosRadius: 30;
1342
+ readonly CubicSpline: 31;
1343
+ };
1344
+ export type FilterType = typeof FilterType[keyof typeof FilterType];
1345
+ export declare const GifDisposeMethod: {
1346
+ readonly Undefined: 0;
1347
+ readonly None: 1;
1348
+ readonly Background: 2;
1349
+ readonly Previous: 3;
1350
+ };
1351
+ export type GifDisposeMethod = typeof GifDisposeMethod[keyof typeof GifDisposeMethod];
1352
+ export declare const Kernel: {
1353
+ readonly Undefined: "Undefined";
1354
+ readonly Unity: "Unity";
1355
+ readonly Gaussian: "Gaussian";
1356
+ readonly DoG: "DoG";
1357
+ readonly LoG: "LoG";
1358
+ readonly Blur: "Blur";
1359
+ readonly Comet: "Comet";
1360
+ readonly Binomial: "Binomial";
1361
+ readonly Laplacian: "Laplacian";
1362
+ readonly Sobel: "Sobel";
1363
+ readonly FreiChen: "FreiChen";
1364
+ readonly Roberts: "Roberts";
1365
+ readonly Prewitt: "Prewitt";
1366
+ readonly Compass: "Compass";
1367
+ readonly Kirsch: "Kirsch";
1368
+ readonly Diamond: "Diamond";
1369
+ readonly Square: "Square";
1370
+ readonly Rectangle: "Rectangle";
1371
+ readonly Octagon: "Octagon";
1372
+ readonly Disk: "Disk";
1373
+ readonly Plus: "Plus";
1374
+ readonly Cross: "Cross";
1375
+ readonly Ring: "Ring";
1376
+ readonly Peaks: "Peaks";
1377
+ readonly Edges: "Edges";
1378
+ readonly Corners: "Corners";
1379
+ readonly Diagonals: "Diagonals";
1380
+ readonly LineEnds: "LineEnds";
1381
+ readonly LineJunctions: "LineJunctions";
1382
+ readonly Ridges: "Ridges";
1383
+ readonly ConvexHull: "ConvexHull";
1384
+ readonly ThinSE: "ThinSE";
1385
+ readonly Skeleton: "Skeleton";
1386
+ readonly Chebyshev: "Chebyshev";
1387
+ readonly Manhattan: "Manhattan";
1388
+ readonly Octagonal: "Octagonal";
1389
+ readonly Euclidean: "Euclidean";
1390
+ readonly UserDefined: "UserDefined";
1391
+ };
1392
+ export type Kernel = typeof Kernel[keyof typeof Kernel];
1393
+ export declare const MorphologyMethod: {
1394
+ readonly Undefined: 0;
1395
+ readonly Convolve: 1;
1396
+ readonly Correlate: 2;
1397
+ readonly Erode: 3;
1398
+ readonly Dilate: 4;
1399
+ readonly ErodeIntensity: 5;
1400
+ readonly DilateIntensity: 6;
1401
+ readonly IterativeDistance: 7;
1402
+ readonly Open: 8;
1403
+ readonly Close: 9;
1404
+ readonly OpenIntensity: 10;
1405
+ readonly CloseIntensity: 11;
1406
+ readonly Smooth: 12;
1407
+ readonly EdgeIn: 13;
1408
+ readonly EdgeOut: 14;
1409
+ readonly Edge: 15;
1410
+ readonly TopHat: 16;
1411
+ readonly BottomHat: 17;
1412
+ readonly HitAndMiss: 18;
1413
+ readonly Thinning: 19;
1414
+ readonly Thicken: 20;
1415
+ readonly Distance: 21;
1416
+ readonly Voronoi: 22;
1417
+ };
1418
+ export type MorphologyMethod = typeof MorphologyMethod[keyof typeof MorphologyMethod];
1387
1419
  export declare class MorphologySettings {
1388
1420
  constructor(method: MorphologyMethod, kernel: Kernel | string, args?: string);
1389
1421
  channels: Channels;
@@ -1393,92 +1425,118 @@ export declare class MorphologySettings {
1393
1425
  readonly kernel: string;
1394
1426
  readonly method: MorphologyMethod;
1395
1427
  }
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
- }
1406
- declare enum OrientationType$1 {
1407
- Undefined = 0,
1408
- TopLeft = 1,
1409
- TopRight = 2,
1410
- BottomRight = 3,
1411
- BottomLeft = 4,
1412
- LeftTop = 5,
1413
- RightTop = 6,
1414
- RightBottom = 7,
1415
- LeftBottom = 8
1416
- }
1417
- export declare enum PixelChannel {
1418
- Red = 0,
1419
- Cyan = 0,
1420
- Gray = 0,
1421
- Green = 1,
1422
- Magenta = 1,
1423
- Blue = 2,
1424
- Yellow = 2,
1425
- Black = 3,
1426
- Alpha = 4,
1427
- Index = 5,
1428
- Meta0 = 10,
1429
- Meta1 = 11,
1430
- Meta2 = 12,
1431
- Meta3 = 13,
1432
- Meta4 = 14,
1433
- Meta5 = 15,
1434
- Meta6 = 16,
1435
- Meta7 = 17,
1436
- Meta8 = 18,
1437
- Meta9 = 19,
1438
- Meta10 = 20,
1439
- Meta11 = 21,
1440
- Meta12 = 22,
1441
- Meta13 = 23,
1442
- Meta14 = 24,
1443
- Meta15 = 25,
1444
- Meta16 = 26,
1445
- Meta17 = 27,
1446
- Meta18 = 28,
1447
- Meta19 = 29,
1448
- Meta20 = 30,
1449
- Meta21 = 31,
1450
- Meta22 = 32,
1451
- Meta23 = 33,
1452
- Meta24 = 34,
1453
- Meta25 = 35,
1454
- Meta26 = 36,
1455
- Meta27 = 37,
1456
- Meta28 = 38,
1457
- Meta29 = 39,
1458
- Meta30 = 40,
1459
- Meta31 = 41,
1460
- Meta32 = 42,
1461
- Meta33 = 43,
1462
- Meta34 = 44,
1463
- Meta35 = 45,
1464
- Meta36 = 46,
1465
- Meta37 = 47,
1466
- Meta38 = 48,
1467
- Meta39 = 49,
1468
- Meta40 = 50,
1469
- Meta41 = 51,
1470
- Meta42 = 52,
1471
- Meta43 = 53,
1472
- Meta44 = 54,
1473
- Meta45 = 55,
1474
- Meta46 = 56,
1475
- Meta47 = 57,
1476
- Meta48 = 58,
1477
- Meta49 = 59,
1478
- Meta50 = 60,
1479
- Meta51 = 61,
1480
- Meta52 = 62,
1481
- Composite = 64
1428
+ export declare const Orientation: {
1429
+ readonly Undefined: 0;
1430
+ readonly TopLeft: 1;
1431
+ readonly TopRight: 2;
1432
+ readonly BottomRight: 3;
1433
+ readonly BottomLeft: 4;
1434
+ readonly LeftTop: 5;
1435
+ readonly RightTop: 6;
1436
+ readonly RightBottom: 7;
1437
+ readonly LeftBottom: 8;
1438
+ };
1439
+ export type Orientation = typeof Orientation[keyof typeof Orientation];
1440
+ export declare const NoiseType: {
1441
+ readonly Undefined: 0;
1442
+ readonly Uniform: 1;
1443
+ readonly Gaussian: 2;
1444
+ readonly MultiplicativeGaussian: 3;
1445
+ readonly Impulse: 4;
1446
+ readonly Laplacian: 5;
1447
+ readonly Poisson: 6;
1448
+ readonly Random: 7;
1449
+ };
1450
+ export type NoiseType = typeof NoiseType[keyof typeof NoiseType];
1451
+ export declare const PixelChannel: {
1452
+ readonly Red: 0;
1453
+ readonly Cyan: 0;
1454
+ readonly Gray: 0;
1455
+ readonly Green: 1;
1456
+ readonly Magenta: 1;
1457
+ readonly Blue: 2;
1458
+ readonly Yellow: 2;
1459
+ readonly Black: 3;
1460
+ readonly Alpha: 4;
1461
+ readonly Index: 5;
1462
+ readonly Meta0: 10;
1463
+ readonly Meta1: 11;
1464
+ readonly Meta2: 12;
1465
+ readonly Meta3: 13;
1466
+ readonly Meta4: 14;
1467
+ readonly Meta5: 15;
1468
+ readonly Meta6: 16;
1469
+ readonly Meta7: 17;
1470
+ readonly Meta8: 18;
1471
+ readonly Meta9: 19;
1472
+ readonly Meta10: 20;
1473
+ readonly Meta11: 21;
1474
+ readonly Meta12: 22;
1475
+ readonly Meta13: 23;
1476
+ readonly Meta14: 24;
1477
+ readonly Meta15: 25;
1478
+ readonly Meta16: 26;
1479
+ readonly Meta17: 27;
1480
+ readonly Meta18: 28;
1481
+ readonly Meta19: 29;
1482
+ readonly Meta20: 30;
1483
+ readonly Meta21: 31;
1484
+ readonly Meta22: 32;
1485
+ readonly Meta23: 33;
1486
+ readonly Meta24: 34;
1487
+ readonly Meta25: 35;
1488
+ readonly Meta26: 36;
1489
+ readonly Meta27: 37;
1490
+ readonly Meta28: 38;
1491
+ readonly Meta29: 39;
1492
+ readonly Meta30: 40;
1493
+ readonly Meta31: 41;
1494
+ readonly Meta32: 42;
1495
+ readonly Meta33: 43;
1496
+ readonly Meta34: 44;
1497
+ readonly Meta35: 45;
1498
+ readonly Meta36: 46;
1499
+ readonly Meta37: 47;
1500
+ readonly Meta38: 48;
1501
+ readonly Meta39: 49;
1502
+ readonly Meta40: 50;
1503
+ readonly Meta41: 51;
1504
+ readonly Meta42: 52;
1505
+ readonly Meta43: 53;
1506
+ readonly Meta44: 54;
1507
+ readonly Meta45: 55;
1508
+ readonly Meta46: 56;
1509
+ readonly Meta47: 57;
1510
+ readonly Meta48: 58;
1511
+ readonly Meta49: 59;
1512
+ readonly Meta50: 60;
1513
+ readonly Meta51: 61;
1514
+ readonly Meta52: 62;
1515
+ readonly Composite: 64;
1516
+ };
1517
+ export type PixelChannel = typeof PixelChannel[keyof typeof PixelChannel];
1518
+ export interface IChannelPerceptualHash {
1519
+ readonly channel: PixelChannel;
1520
+ huPhash(colorSpace: ColorSpace, channelIndex: number): number;
1521
+ sumSquaredDistance(other: IChannelPerceptualHash): number;
1522
+ toString(): string;
1523
+ }
1524
+ export declare class ChannelPerceptualHash implements IChannelPerceptualHash {
1525
+ private readonly _huPhashes;
1526
+ private _hash;
1527
+ channel: PixelChannel;
1528
+ constructor(channel: PixelChannel, colorSpaces: ReadonlyArray<ColorSpace>, instance: number);
1529
+ huPhash(colorSpace: ColorSpace, index: number): number;
1530
+ sumSquaredDistance(other: IChannelPerceptualHash): number;
1531
+ toString(): string;
1532
+ private parseHash;
1533
+ private static powerOfTen;
1534
+ private setHash;
1535
+ }
1536
+ export interface IPerceptualHash {
1537
+ getChannel(channel: number): IChannelPerceptualHash | null;
1538
+ sumSquaredDistance(other: IPerceptualHash): number;
1539
+ toString(): string;
1482
1540
  }
1483
1541
  export type quantumArray = Uint8Array;
1484
1542
  export interface IPixelCollection extends IDisposable {
@@ -1502,44 +1560,47 @@ export declare class PixelCollection extends NativeInstance implements IPixelCol
1502
1560
  toByteArray(x: number, y: number, width: number, height: number, mapping: string): Uint8Array | null;
1503
1561
  private use;
1504
1562
  }
1505
- export declare enum PixelIntensityMethod {
1506
- Undefined = 0,
1507
- Average = 1,
1508
- Brightness = 2,
1509
- Lightness = 3,
1510
- MS = 4,
1511
- Rec601Luma = 5,
1512
- Rec601Luminance = 6,
1513
- Rec709Luma = 7,
1514
- Rec709Luminance = 8,
1515
- RMS = 9
1516
- }
1517
- export declare enum PixelInterpolateMethod {
1518
- Undefined = 0,
1519
- Average = 1,
1520
- Average9 = 2,
1521
- Average16 = 3,
1522
- Background = 4,
1523
- Bilinear = 5,
1524
- Blend = 6,
1525
- Catrom = 7,
1526
- Integer = 8,
1527
- Mesh = 9,
1528
- Nearest = 10,
1529
- Spline = 11
1530
- }
1563
+ export declare const PixelIntensityMethod: {
1564
+ readonly Undefined: 0;
1565
+ readonly Average: 1;
1566
+ readonly Brightness: 2;
1567
+ readonly Lightness: 3;
1568
+ readonly MS: 4;
1569
+ readonly Rec601Luma: 5;
1570
+ readonly Rec601Luminance: 6;
1571
+ readonly Rec709Luma: 7;
1572
+ readonly Rec709Luminance: 8;
1573
+ readonly RMS: 9;
1574
+ };
1575
+ export type PixelIntensityMethod = typeof PixelIntensityMethod[keyof typeof PixelIntensityMethod];
1576
+ export declare const PixelInterpolateMethod: {
1577
+ readonly Undefined: 0;
1578
+ readonly Average: 1;
1579
+ readonly Average9: 2;
1580
+ readonly Average16: 3;
1581
+ readonly Background: 4;
1582
+ readonly Bilinear: 5;
1583
+ readonly Blend: 6;
1584
+ readonly Catrom: 7;
1585
+ readonly Integer: 8;
1586
+ readonly Mesh: 9;
1587
+ readonly Nearest: 10;
1588
+ readonly Spline: 11;
1589
+ };
1590
+ export type PixelInterpolateMethod = typeof PixelInterpolateMethod[keyof typeof PixelInterpolateMethod];
1531
1591
  declare class ProgressEvent$1 {
1532
1592
  readonly origin: string | null;
1533
1593
  readonly progress: Percentage;
1534
1594
  cancel: boolean;
1535
1595
  }
1536
- export declare enum RenderingIntent {
1537
- Undefined = 0,
1538
- Saturation = 1,
1539
- Perceptual = 2,
1540
- Absolute = 3,
1541
- Relative = 4
1542
- }
1596
+ export declare const RenderingIntent: {
1597
+ readonly Undefined: 0;
1598
+ readonly Saturation: 1;
1599
+ readonly Perceptual: 2;
1600
+ readonly Absolute: 3;
1601
+ readonly Relative: 4;
1602
+ };
1603
+ export type RenderingIntent = typeof RenderingIntent[keyof typeof RenderingIntent];
1543
1604
  export interface IChannelStatistics {
1544
1605
  readonly channel: PixelChannel;
1545
1606
  readonly depth: number;
@@ -1556,73 +1617,75 @@ export interface IStatistics {
1556
1617
  composite(): IChannelStatistics;
1557
1618
  getChannel(channel: PixelChannel): IChannelStatistics | null;
1558
1619
  }
1559
- export declare enum VirtualPixelMethod {
1560
- Undefined = 0,
1561
- Background = 1,
1562
- Dither = 2,
1563
- Edge = 3,
1564
- Mirror = 4,
1565
- Random = 5,
1566
- Tile = 6,
1567
- Transparent = 7,
1568
- Mask = 8,
1569
- Black = 9,
1570
- Gray = 10,
1571
- White = 11,
1572
- HorizontalTile = 12,
1573
- VerticalTile = 13,
1574
- HorizontalTileEdge = 14,
1575
- VerticalTileEdge = 15,
1576
- CheckerTile = 16
1577
- }
1578
- export declare enum MagickErrorSeverity {
1579
- Warning = 300,
1580
- ResourceLimitWarning = 300,
1581
- TypeWarning = 305,
1582
- OptionWarning = 310,
1583
- DelegateWarning = 315,
1584
- MissingDelegateWarning = 320,
1585
- CorruptImageWarning = 325,
1586
- FileOpenWarning = 330,
1587
- BlobWarning = 335,
1588
- StreamWarning = 340,
1589
- CacheWarning = 345,
1590
- CoderWarning = 350,
1591
- FilterWarning = 352,
1592
- ModuleWarning = 355,
1593
- DrawWarning = 360,
1594
- ImageWarning = 365,
1595
- WandWarning = 370,
1596
- RandomWarning = 375,
1597
- XServerWarning = 380,
1598
- MonitorWarning = 385,
1599
- RegistryWarning = 390,
1600
- ConfigureWarning = 395,
1601
- PolicyWarning = 399,
1602
- Error = 400,
1603
- ResourceLimitError = 400,
1604
- TypeError = 405,
1605
- OptionError = 410,
1606
- DelegateError = 415,
1607
- MissingDelegateError = 420,
1608
- CorruptImageError = 425,
1609
- FileOpenError = 430,
1610
- BlobError = 435,
1611
- StreamError = 440,
1612
- CacheError = 445,
1613
- CoderError = 450,
1614
- FilterError = 452,
1615
- ModuleError = 455,
1616
- DrawError = 460,
1617
- ImageError = 465,
1618
- WandError = 470,
1619
- RandomError = 475,
1620
- XServerError = 480,
1621
- MonitorError = 485,
1622
- RegistryError = 490,
1623
- ConfigureError = 495,
1624
- PolicyError = 499
1625
- }
1620
+ export declare const VirtualPixelMethod: {
1621
+ readonly Undefined: 0;
1622
+ readonly Background: 1;
1623
+ readonly Dither: 2;
1624
+ readonly Edge: 3;
1625
+ readonly Mirror: 4;
1626
+ readonly Random: 5;
1627
+ readonly Tile: 6;
1628
+ readonly Transparent: 7;
1629
+ readonly Mask: 8;
1630
+ readonly Black: 9;
1631
+ readonly Gray: 10;
1632
+ readonly White: 11;
1633
+ readonly HorizontalTile: 12;
1634
+ readonly VerticalTile: 13;
1635
+ readonly HorizontalTileEdge: 14;
1636
+ readonly VerticalTileEdge: 15;
1637
+ readonly CheckerTile: 16;
1638
+ };
1639
+ export type VirtualPixelMethod = typeof VirtualPixelMethod[keyof typeof VirtualPixelMethod];
1640
+ export declare const MagickErrorSeverity: {
1641
+ readonly Warning: 300;
1642
+ readonly ResourceLimitWarning: 300;
1643
+ readonly TypeWarning: 305;
1644
+ readonly OptionWarning: 310;
1645
+ readonly DelegateWarning: 315;
1646
+ readonly MissingDelegateWarning: 320;
1647
+ readonly CorruptImageWarning: 325;
1648
+ readonly FileOpenWarning: 330;
1649
+ readonly BlobWarning: 335;
1650
+ readonly StreamWarning: 340;
1651
+ readonly CacheWarning: 345;
1652
+ readonly CoderWarning: 350;
1653
+ readonly FilterWarning: 352;
1654
+ readonly ModuleWarning: 355;
1655
+ readonly DrawWarning: 360;
1656
+ readonly ImageWarning: 365;
1657
+ readonly WandWarning: 370;
1658
+ readonly RandomWarning: 375;
1659
+ readonly XServerWarning: 380;
1660
+ readonly MonitorWarning: 385;
1661
+ readonly RegistryWarning: 390;
1662
+ readonly ConfigureWarning: 395;
1663
+ readonly PolicyWarning: 399;
1664
+ readonly Error: 400;
1665
+ readonly ResourceLimitError: 400;
1666
+ readonly TypeError: 405;
1667
+ readonly OptionError: 410;
1668
+ readonly DelegateError: 415;
1669
+ readonly MissingDelegateError: 420;
1670
+ readonly CorruptImageError: 425;
1671
+ readonly FileOpenError: 430;
1672
+ readonly BlobError: 435;
1673
+ readonly StreamError: 440;
1674
+ readonly CacheError: 445;
1675
+ readonly CoderError: 450;
1676
+ readonly FilterError: 452;
1677
+ readonly ModuleError: 455;
1678
+ readonly DrawError: 460;
1679
+ readonly ImageError: 465;
1680
+ readonly WandError: 470;
1681
+ readonly RandomError: 475;
1682
+ readonly XServerError: 480;
1683
+ readonly MonitorError: 485;
1684
+ readonly RegistryError: 490;
1685
+ readonly ConfigureError: 495;
1686
+ readonly PolicyError: 499;
1687
+ };
1688
+ export type MagickErrorSeverity = typeof MagickErrorSeverity[keyof typeof MagickErrorSeverity];
1626
1689
  export declare class MagickError extends Error {
1627
1690
  private _relatedErrors;
1628
1691
  readonly severity: MagickErrorSeverity;
@@ -1670,7 +1733,7 @@ export interface IMagickImage extends IDisposable {
1670
1733
  label: string | null;
1671
1734
  matteColor: IMagickColor;
1672
1735
  metaChannelCount: number;
1673
- orientation: OrientationType$1;
1736
+ orientation: Orientation;
1674
1737
  onProgress?: (event: ProgressEvent$1) => void;
1675
1738
  onWarning?: (event: WarningEvent) => void;
1676
1739
  page: IMagickGeometry;
@@ -1691,17 +1754,32 @@ export interface IMagickImage extends IDisposable {
1691
1754
  adaptiveSharpen(channels: Channels): void;
1692
1755
  adaptiveSharpen(radius: number, sigma: number): void;
1693
1756
  adaptiveSharpen(radius: number, sigma: number, channels: Channels): void;
1757
+ adaptiveThreshold(width: number, height: number): void;
1758
+ adaptiveThreshold(width: number, height: number, channels: Channels): void;
1759
+ adaptiveThreshold(width: number, height: number, bias: Percentage): void;
1760
+ adaptiveThreshold(width: number, height: number, bias: Percentage, channels: Channels): void;
1694
1761
  addNoise(noiseType: NoiseType): void;
1695
1762
  addNoise(noiseType: NoiseType, channels: Channels): void;
1696
1763
  addNoise(noiseType: NoiseType, attenuate: number): void;
1697
1764
  addNoise(noiseType: NoiseType, attenuate: number, channels: Channels): void;
1698
- alpha(value: AlphaOption$1): void;
1765
+ alpha(value: AlphaAction): void;
1766
+ annotate(text: string, boundingArea: MagickGeometry): void;
1767
+ annotate(text: string, boundingArea: MagickGeometry, gravity: Gravity): void;
1768
+ annotate(text: string, boundingArea: MagickGeometry, gravity: Gravity, angle: number): void;
1769
+ annotate(text: string, gravity: Gravity): void;
1770
+ annotate(text: string, gravity: Gravity, angle: number): void;
1699
1771
  autoGamma(): void;
1700
1772
  autoGamma(channels: Channels): void;
1701
1773
  autoLevel(): void;
1702
1774
  autoLevel(channels: Channels): void;
1703
1775
  autoOrient(): void;
1704
1776
  autoThreshold(method: AutoThresholdMethod): void;
1777
+ bilateralBlur(width: number, height: number): void;
1778
+ bilateralBlur(width: number, height: number, intensitySigma: number, spatialSigma: number): void;
1779
+ blackThreshold(threshold: Percentage): void;
1780
+ blackThreshold(threshold: Percentage, channels: Channels): void;
1781
+ blueShift(): void;
1782
+ blueShift(factor: number): void;
1705
1783
  blur(): void;
1706
1784
  blur(channels: Channels): void;
1707
1785
  blur(radius: number, sigma: number): void;
@@ -1710,8 +1788,11 @@ export interface IMagickImage extends IDisposable {
1710
1788
  border(width: number, height: number): void;
1711
1789
  brightnessContrast(brightness: Percentage, contrast: Percentage): void;
1712
1790
  brightnessContrast(brightness: Percentage, contrast: Percentage, channels: Channels): void;
1791
+ cannyEdge(): void;
1792
+ cannyEdge(radius: number, sigma: number, lower: Percentage, upper: Percentage): void;
1713
1793
  charcoal(): void;
1714
1794
  charcoal(radius: number, sigma: number): void;
1795
+ chop(geometry: MagickGeometry): void;
1715
1796
  clahe(xTiles: number, yTiles: number, numberBins: number, clipLimit: number): void;
1716
1797
  clahe(xTiles: Percentage, yTiles: Percentage, numberBins: number, clipLimit: number): void;
1717
1798
  clone<TReturnType>(func: SyncImageCallback<TReturnType>): TReturnType;
@@ -1783,6 +1864,7 @@ export interface IMagickImage extends IDisposable {
1783
1864
  extent(geometry: IMagickGeometry, backgroundColor: IMagickColor): void;
1784
1865
  flip(): void;
1785
1866
  flop(): void;
1867
+ formatExpression(expression: string): string | null;
1786
1868
  gammaCorrect(gamma: number): void;
1787
1869
  gammaCorrect(gamma: number, channels: Channels): void;
1788
1870
  gaussianBlur(radius: number): void;
@@ -1829,6 +1911,8 @@ export interface IMagickImage extends IDisposable {
1829
1911
  oilPaint(): void;
1830
1912
  oilPaint(radius: number): void;
1831
1913
  opaque(target: IMagickColor, fill: IMagickColor): void;
1914
+ perceptualHash(): IPerceptualHash;
1915
+ perceptualHash(colorSpaces: ReadonlyArray<ColorSpace>): IPerceptualHash;
1832
1916
  ping(fileName: string, settings?: MagickReadSettings): void;
1833
1917
  ping(array: ByteArray, settings?: MagickReadSettings): void;
1834
1918
  quantize(settings?: QuantizeSettings): MagickErrorInfo | null;
@@ -1873,7 +1957,9 @@ export interface IMagickImage extends IDisposable {
1873
1957
  statistics(channels: Channels): IStatistics;
1874
1958
  strip(): void;
1875
1959
  transformColorSpace(target: IColorProfile): boolean;
1960
+ transformColorSpace(target: IColorProfile, mode: ColorTransformMode): boolean;
1876
1961
  transformColorSpace(source: IColorProfile, target: IColorProfile): boolean;
1962
+ transformColorSpace(source: IColorProfile, target: IColorProfile, mode: ColorTransformMode): boolean;
1877
1963
  threshold(percentage: Percentage): void;
1878
1964
  threshold(percentage: Percentage, channels: Channels): void;
1879
1965
  thumbnail(width: number, height: number): void;
@@ -1887,6 +1973,8 @@ export interface IMagickImage extends IDisposable {
1887
1973
  vignette(radius: number, sigma: number, x: number, y: number): void;
1888
1974
  wave(): void;
1889
1975
  wave(method: PixelInterpolateMethod, amplitude: number, length: number): void;
1976
+ whiteThreshold(threshold: Percentage): void;
1977
+ whiteThreshold(threshold: Percentage, channels: Channels): void;
1890
1978
  write<TReturnType>(func: (data: Uint8Array) => TReturnType): TReturnType;
1891
1979
  write<TReturnType>(func: (data: Uint8Array) => Promise<TReturnType>): Promise<TReturnType>;
1892
1980
  write<TReturnType>(format: MagickFormat, func: (data: Uint8Array) => TReturnType): TReturnType;
@@ -1938,11 +2026,11 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
1938
2026
  set density(value: Density);
1939
2027
  get depth(): number;
1940
2028
  set depth(value: number);
1941
- get endian(): number;
1942
- set endian(value: number);
2029
+ get endian(): Endian;
2030
+ set endian(value: Endian);
1943
2031
  get fileName(): string | null;
1944
- get filterType(): number;
1945
- set filterType(value: number);
2032
+ get filterType(): FilterType;
2033
+ set filterType(value: FilterType);
1946
2034
  get format(): MagickFormat;
1947
2035
  set format(value: MagickFormat);
1948
2036
  get gamma(): number;
@@ -1961,8 +2049,8 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
1961
2049
  set matteColor(value: IMagickColor);
1962
2050
  get metaChannelCount(): number;
1963
2051
  set metaChannelCount(value: number);
1964
- get orientation(): OrientationType$1;
1965
- set orientation(value: OrientationType$1);
2052
+ get orientation(): Orientation;
2053
+ set orientation(value: Orientation);
1966
2054
  get onProgress(): ((event: ProgressEvent$1) => number) | undefined;
1967
2055
  set onProgress(value: ((event: ProgressEvent$1) => number) | undefined);
1968
2056
  get onWarning(): ((event: WarningEvent) => number) | undefined;
@@ -1989,15 +2077,30 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
1989
2077
  adaptiveSharpen(channels: Channels): void;
1990
2078
  adaptiveSharpen(radius: number, sigma: number): void;
1991
2079
  adaptiveSharpen(radius: number, sigma: number, channels: Channels): void;
2080
+ adaptiveThreshold(width: number, height: number): void;
2081
+ adaptiveThreshold(width: number, height: number, channels: Channels): void;
2082
+ adaptiveThreshold(width: number, height: number, bias: Percentage): void;
2083
+ adaptiveThreshold(width: number, height: number, bias: Percentage, channels: Channels): void;
1992
2084
  addNoise(noiseType: NoiseType): void;
1993
2085
  addNoise(noiseType: NoiseType, channels: Channels): void;
1994
2086
  addNoise(noiseType: NoiseType, attenuate: number): void;
1995
2087
  addNoise(noiseType: NoiseType, attenuate: number, channels: Channels): void;
1996
- alpha(value: AlphaOption$1): void;
2088
+ alpha(value: AlphaAction): void;
2089
+ annotate(text: string, boundingArea: MagickGeometry): void;
2090
+ annotate(text: string, boundingArea: MagickGeometry, gravity: Gravity): void;
2091
+ annotate(text: string, boundingArea: MagickGeometry, gravity: Gravity, angle: number): void;
2092
+ annotate(text: string, gravity: Gravity): void;
2093
+ annotate(text: string, gravity: Gravity, angle: number): void;
1997
2094
  autoGamma(): void;
1998
2095
  autoLevel(): void;
1999
2096
  autoOrient(): void;
2000
2097
  autoThreshold(method: AutoThresholdMethod): void;
2098
+ bilateralBlur(width: number, height: number): void;
2099
+ bilateralBlur(width: number, height: number, intensitySigma: number, spatialSigma: number): void;
2100
+ blackThreshold(threshold: Percentage): void;
2101
+ blackThreshold(threshold: Percentage, channels: Channels): void;
2102
+ blueShift(): void;
2103
+ blueShift(factor: number): void;
2001
2104
  blur(): void;
2002
2105
  blur(channels: Channels): void;
2003
2106
  blur(radius: number, sigma: number): void;
@@ -2006,8 +2109,11 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
2006
2109
  border(width: number, height: number): void;
2007
2110
  brightnessContrast(brightness: Percentage, contrast: Percentage): void;
2008
2111
  brightnessContrast(brightness: Percentage, contrast: Percentage, channels: Channels): void;
2112
+ cannyEdge(): void;
2113
+ cannyEdge(radius: number, sigma: number, lower: Percentage, upper: Percentage): void;
2009
2114
  charcoal(): void;
2010
2115
  charcoal(radius: number, sigma: number): void;
2116
+ chop(geometry: MagickGeometry): void;
2011
2117
  clahe(xTiles: number, yTiles: number, numberBins: number, clipLimit: number): void;
2012
2118
  clahe(xTiles: Percentage, yTiles: Percentage, numberBins: number, clipLimit: number): void;
2013
2119
  clone<TReturnType>(func: SyncImageCallback<TReturnType>): TReturnType;
@@ -2083,6 +2189,7 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
2083
2189
  extent(geometry: IMagickGeometry, backgroundColor: IMagickColor): void;
2084
2190
  flip(): void;
2085
2191
  flop(): void;
2192
+ formatExpression(expression: string): string | null;
2086
2193
  gammaCorrect(gamma: number): void;
2087
2194
  gammaCorrect(gamma: number, channels: Channels): void;
2088
2195
  gaussianBlur(radius: number): void;
@@ -2128,6 +2235,8 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
2128
2235
  opaque: (target: IMagickColor, fill: IMagickColor) => void;
2129
2236
  ping(fileName: string, settings?: MagickReadSettings): void;
2130
2237
  ping(array: ByteArray, settings?: MagickReadSettings): void;
2238
+ perceptualHash(): IPerceptualHash;
2239
+ perceptualHash(colorSpaces: ReadonlyArray<ColorSpace>): IPerceptualHash;
2131
2240
  quantize(settingsOrUndefined?: QuantizeSettings): MagickErrorInfo | null;
2132
2241
  read(color: IMagickColor, width: number, height: number): void;
2133
2242
  read(fileName: string, settings?: MagickReadSettings): void;
@@ -2166,7 +2275,9 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
2166
2275
  statistics(channels: Channels): IStatistics;
2167
2276
  strip(): void;
2168
2277
  transformColorSpace(target: IColorProfile): boolean;
2278
+ transformColorSpace(target: IColorProfile, mode: ColorTransformMode): boolean;
2169
2279
  transformColorSpace(source: IColorProfile, target: IColorProfile): boolean;
2280
+ transformColorSpace(source: IColorProfile, target: IColorProfile, mode: ColorTransformMode): boolean;
2170
2281
  threshold(percentage: Percentage): void;
2171
2282
  threshold(percentage: Percentage, channels: Channels): void;
2172
2283
  thumbnail(width: number, height: number): void;
@@ -2180,6 +2291,8 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
2180
2291
  wave(method: PixelInterpolateMethod, amplitude: number, length: number): void;
2181
2292
  vignette(): void;
2182
2293
  vignette(radius: number, sigma: number, x: number, y: number): void;
2294
+ whiteThreshold(threshold: Percentage): void;
2295
+ whiteThreshold(threshold: Percentage, channels: Channels): void;
2183
2296
  write<TReturnType>(func: (data: Uint8Array) => TReturnType): TReturnType;
2184
2297
  write<TReturnType>(func: (data: Uint8Array) => Promise<TReturnType>): Promise<TReturnType>;
2185
2298
  write<TReturnType>(format: MagickFormat, func: (data: Uint8Array) => TReturnType): TReturnType;
@@ -2198,6 +2311,7 @@ export declare class MagickImage extends NativeInstance implements IMagickImage
2198
2311
  private readFromArray;
2199
2312
  private toBool;
2200
2313
  private valueOrDefault;
2314
+ private valueOrComputedDefault;
2201
2315
  private useException;
2202
2316
  private useExceptionPointer;
2203
2317
  }
@@ -2236,30 +2350,31 @@ export declare class Drawables {
2236
2350
  textUnderColor(color: IMagickColor): Drawables;
2237
2351
  draw(image: IMagickImage): Drawables;
2238
2352
  }
2239
- export declare enum LogEventTypes {
2240
- None = 0,
2241
- Accelerate = 1,
2242
- Annotate = 2,
2243
- Blob = 4,
2244
- Cache = 8,
2245
- Coder = 16,
2246
- Configure = 32,
2247
- Deprecate = 64,
2248
- Draw = 128,
2249
- Exception = 256,
2250
- Image = 512,
2251
- Locale = 1024,
2252
- Module = 2048,
2253
- Pixel = 4096,
2254
- Policy = 8192,
2255
- Resource = 16384,
2256
- Trace = 32768,
2257
- Transform = 65536,
2258
- User = 131072,
2259
- Wand = 262144,
2260
- Detailed = 2147450879,
2261
- All = 2147483647
2262
- }
2353
+ export declare const LogEventTypes: {
2354
+ readonly None: 0;
2355
+ readonly Accelerate: 1;
2356
+ readonly Annotate: 2;
2357
+ readonly Blob: 4;
2358
+ readonly Cache: 8;
2359
+ readonly Coder: 16;
2360
+ readonly Configure: 32;
2361
+ readonly Deprecate: 64;
2362
+ readonly Draw: 128;
2363
+ readonly Exception: 256;
2364
+ readonly Image: 512;
2365
+ readonly Locale: 1024;
2366
+ readonly Module: 2048;
2367
+ readonly Pixel: 4096;
2368
+ readonly Policy: 8192;
2369
+ readonly Resource: 16384;
2370
+ readonly Trace: 32768;
2371
+ readonly Transform: 65536;
2372
+ readonly User: 131072;
2373
+ readonly Wand: 262144;
2374
+ readonly Detailed: 2147450879;
2375
+ readonly All: number;
2376
+ };
2377
+ export type LogEventTypes = typeof LogEventTypes[keyof typeof LogEventTypes];
2263
2378
  export declare class LogEvent {
2264
2379
  constructor(eventType: LogEventTypes, message?: string);
2265
2380
  readonly eventType: LogEventTypes;
@@ -2484,7 +2599,7 @@ export interface IMagickImageInfo {
2484
2599
  readonly format: MagickFormat;
2485
2600
  readonly height: number;
2486
2601
  readonly interlace: Interlace;
2487
- readonly orientation: OrientationType$1;
2602
+ readonly orientation: Orientation;
2488
2603
  readonly quality: number;
2489
2604
  readonly width: number;
2490
2605
  read(array: ByteArray, settings?: MagickReadSettings): void;
@@ -2505,7 +2620,7 @@ export declare class MagickImageInfo implements IMagickImageInfo {
2505
2620
  get format(): MagickFormat;
2506
2621
  get height(): number;
2507
2622
  get interlace(): Interlace;
2508
- get orientation(): OrientationType$1;
2623
+ get orientation(): Orientation;
2509
2624
  get quality(): number;
2510
2625
  get width(): number;
2511
2626
  constructor();
@@ -2531,8 +2646,6 @@ export declare class Quantum {
2531
2646
  }
2532
2647
 
2533
2648
  export {
2534
- AlphaOption$1 as AlphaOption,
2535
- OrientationType$1 as OrientationType,
2536
2649
  ProgressEvent$1 as ProgressEvent,
2537
2650
  };
2538
2651