Skip to content

Commit e53d400

Browse files
committed
Renamed Magick.WASM to magick-wasm.
1 parent af2029d commit e53d400

File tree

122 files changed

+234
-234
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+234
-234
lines changed

demo/demo.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { initializeImageMagick, ImageMagick } from '../lib/image-magick';
@@ -25,4 +25,4 @@ initializeImageMagick().then(async () => {
2525
});
2626
}).catch(err => {
2727
console.error(err);
28-
});
28+
});

readme.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
## The WebAssembly library for ImageMagick: Magick.WASM
1+
## The WebAssembly library for ImageMagick: magick-wasm
22

3-
[![GitHub license](https://img.shields.io/badge/license-Apache%202-green.svg)](https://raw.githubusercontent.com/dlemstra/Magick.WASM/main/license.txt)
3+
[![GitHub license](https://img.shields.io/badge/license-Apache%202-green.svg)](https://raw.githubusercontent.com/dlemstra/magick-wasm/main/license.txt)
44
[![Twitter URL](https://img.shields.io/badge/twitter-follow-1da1f2.svg)](https://twitter.com/MagickNET)
55
[![Donate](https://img.shields.io/badge/%24-donate-ff00ff.svg)](https://github.com/sponsors/dlemstra)
66

77
ImageMagick is a powerful image manipulation library that supports over [100 major file formats](https://www.imagemagick.org/script/formats.php) (not including sub-formats).
8-
With Magick.WASM you can use ImageMagick in your web application without doing a callback to an api.
8+
With magick-wasm you can use ImageMagick in your web application without doing a callback to an api.
99

1010
## Documentation
1111

12-
For examples on how to use Magick.WASM view the [https://github.com/dlemstra/Magick.WASM/blob/main/demo/demo.ts](demo/demo.ts).
12+
For examples on how to use magick-wasm view the [https://github.com/dlemstra/magick-wasm/blob/main/demo/demo.ts](demo/demo.ts).
1313
For more information about ImageMagick go to: [http://www.imagemagick.org/](http://www.imagemagick.org/).
1414

1515
## Download
1616

1717
You can download the npm package from here: https://www.npmjs.com/package/@imagemagick/magick-wasm.
1818

19-
Follow me on twitter([@MagickNET](https://twitter.com/MagickNET)) to receive information about new downloads and changes to Magick.WASM and ImageMagick.
19+
Follow me on twitter([@MagickNET](https://twitter.com/MagickNET)) to receive information about new downloads and changes to magick-wasm and ImageMagick.
2020

2121
## Donate
2222

src/alpha-option.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
export enum AlphaOption {
@@ -18,4 +18,4 @@ export enum AlphaOption {
1818
Set,
1919
Shape,
2020
Transparent,
21-
}
21+
}

src/channels.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
export enum Channels {
@@ -22,4 +22,4 @@ export enum Channels {
2222
Grays = 0x0400,
2323
Sync = 0x20000,
2424
Default = All,
25-
}
25+
}

src/color-space.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
export enum ColorSpace {
@@ -36,4 +36,4 @@ export enum ColorSpace {
3636
YPbPr,
3737
YUV,
3838
LinearGray
39-
}
39+
}

src/composite-operator.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
export enum CompositeOperator {
@@ -74,4 +74,4 @@ export enum CompositeOperator {
7474
VividLight,
7575
Xor,
7676
Stereo,
77-
}
77+
}

src/defines/define.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { MagickFormat } from '../magick-format';

src/defines/defines-creator.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { IDefine } from './define';
@@ -27,4 +27,4 @@ export abstract class DefinesCreator implements IDefines {
2727

2828
return new MagickDefine(this.format, name, value.toString());
2929
}
30-
}
30+
}

src/defines/defines.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { IDefine } from './define';

src/defines/magick-define.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { IDefine } from './define';
@@ -16,4 +16,4 @@ export class MagickDefine implements IDefine {
1616
readonly name: string;
1717

1818
readonly value: string;
19-
}
19+
}

src/distort-method.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
export enum DistortMethod
@@ -23,4 +23,4 @@ export enum DistortMethod
2323
Resize,
2424
Sentinel,
2525
RigidAffine,
26-
}
26+
}

src/error-metric.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
export enum ErrorMetric {
@@ -15,4 +15,4 @@ export enum ErrorMetric {
1515
RootMeanSquared,
1616
StructuralSimilarity,
1717
StructuralDissimilarity,
18-
}
18+
}

src/evaluate-operator.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
export enum EvaluateOperator {
@@ -36,4 +36,4 @@ export enum EvaluateOperator {
3636
UniformNoise,
3737
Xor,
3838
InverseLog
39-
}
39+
}

src/formats/dng/dng-output-color.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
export enum DngOutputColor {

src/formats/dng/dng-read-defines.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { DefinesCreator } from '../../defines/defines-creator';
@@ -40,4 +40,4 @@ export class DngReadDefines extends DefinesCreator {
4040
private hasValue(value: boolean | DngOutputColor | undefined): boolean {
4141
return value !== undefined && value !== null;
4242
}
43-
}
43+
}

src/gravity.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
export enum Gravity {
@@ -13,4 +13,4 @@ export enum Gravity {
1313
Southwest = 7,
1414
South = 8,
1515
Southeast = 9,
16-
}
16+
}

src/image-magick.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import MagickNative from './wasm/magick.js';

src/internal/exception/exception-severity.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
/** @internal */
@@ -50,4 +50,4 @@ export enum ExceptionSeverity {
5050
RegistryError = 490,
5151
ConfigureError = 495,
5252
PolicyError = 499
53-
}
53+
}

src/internal/exception/exception.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { ImageMagick } from '../../image-magick';
@@ -82,4 +82,4 @@ export class Exception {
8282
private static dispose(exception: Pointer): void {
8383
ImageMagick._api._MagickExceptionHelper_Dispose(exception.value);
8484
}
85-
}
85+
}

src/internal/geometry-flags.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
/** @internal */
@@ -12,4 +12,4 @@ export enum GeometryFlags
1212
FillArea = 0x10000, /* '^' special handling needed */
1313
LimitPixels = 0x20000, /* '@' resize to area - special use flag */
1414
AspectRatio = 0x100000, /* '~' special handling needed */
15-
}
15+
}

src/internal/magick-rectangle.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { ImageMagick } from '../image-magick';
@@ -29,4 +29,4 @@ export class MagickRectangle {
2929
ImageMagick._api._MagickRectangle_Dispose(rectangle);
3030
}
3131
}
32-
}
32+
}

src/internal/native-instance.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { Exception } from './exception/exception';
@@ -58,4 +58,4 @@ export abstract class NativeInstance implements NativeInstance {
5858

5959
return 0;
6060
}
61-
}
61+
}

src/internal/native/array.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { ImageMagick } from '../../image-magick';
@@ -38,4 +38,4 @@ export function _withQuantumArray<TReturnType>(array: quantumArray, func: (insta
3838
finally {
3939
ImageMagick._api._free(instance);
4040
}
41-
}
41+
}

src/internal/native/string.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { ImageMagick } from '../../image-magick';
@@ -30,4 +30,4 @@ export function _withNativeString<TReturnType>(native: ImageMagickApi, str: stri
3030
/** @internal */
3131
export function _withString<TReturnType>(str: string, func: (instance: number) => TReturnType): TReturnType {
3232
return _withNativeString(ImageMagick._api, str, func);
33-
}
33+
}

src/internal/pointer/pointer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { ImageMagick } from '../../image-magick';
@@ -24,4 +24,4 @@ export class Pointer {
2424
ImageMagick._api._free(pointer.instance);
2525
}
2626
}
27-
}
27+
}

src/internal/string-info.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { ImageMagick } from '../image-magick';
@@ -14,4 +14,4 @@ export class StringInfo {
1414

1515
return ImageMagick._api.HEAPU8.subarray(datum, datum + length);
1616
}
17-
}
17+
}

src/magick-color.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { ImageMagick } from './image-magick';
@@ -116,4 +116,4 @@ export class MagickColor {
116116
private toHex(value: number) {
117117
return value.toString(16).padStart(2, '0');
118118
}
119-
}
119+
}

src/magick-colors.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { MagickColor } from './magick-color';
@@ -287,4 +287,4 @@ export class MagickColors {
287287
static get Yellow(): MagickColor { return new MagickColor(255, 255, 0, 255); }
288288

289289
static get YellowGreen(): MagickColor { return new MagickColor(154, 205, 50, 255); }
290-
}
290+
}

src/magick-format-info.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { ImageMagick } from './image-magick';
@@ -65,4 +65,4 @@ export class MagickFormatInfo {
6565

6666
return MagickFormat.Unknown;
6767
}
68-
}
68+
}

src/magick-format.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
export enum MagickFormat {

src/magick-geometry.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { ImageMagick } from './image-magick';
@@ -186,4 +186,4 @@ export class MagickGeometry {
186186
private hasFlag(flags: number, flag: GeometryFlags) {
187187
return (flags & flag) === flag;
188188
}
189-
}
189+
}

src/magick-image-collection.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.WASM.
1+
// Copyright Dirk Lemstra https://github.com/dlemstra/magick-wasm.
22
// Licensed under the Apache License, Version 2.0.
33

44
import { ImageMagick } from './image-magick';

0 commit comments

Comments
 (0)