@napi-rs/image 1.1.1 → 1.1.2
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/README.md +4 -4
- package/package.json +17 -14
package/README.md
CHANGED
|
@@ -495,7 +495,7 @@ blur(sigma: number): this
|
|
|
495
495
|
|
|
496
496
|
#### `unsharpen`
|
|
497
497
|
|
|
498
|
-
> Performs an unsharpen mask on this image. <br/>
|
|
498
|
+
> Performs an unsharpen mask on this image. <br/> `sigma` is the amount to blur the image by. <br/> `threshold` is a control of how much to sharpen.
|
|
499
499
|
>
|
|
500
500
|
> See <https://en.wikipedia.org/wiki/Unsharp_masking#Digital_unsharp_masking>
|
|
501
501
|
|
|
@@ -513,7 +513,7 @@ filter3x3(kernel: Array<number>): this
|
|
|
513
513
|
|
|
514
514
|
#### `adjustContrast`
|
|
515
515
|
|
|
516
|
-
> Adjust the contrast of this image.<br/>
|
|
516
|
+
> Adjust the contrast of this image.<br/> `contrast` is the amount to adjust the contrast by.<br/>
|
|
517
517
|
> Negative values decrease the contrast and positive values increase the contrast.
|
|
518
518
|
|
|
519
519
|
```ts
|
|
@@ -522,7 +522,7 @@ adjustContrast(contrast: number): this
|
|
|
522
522
|
|
|
523
523
|
#### `brighten`
|
|
524
524
|
|
|
525
|
-
> Brighten the pixels of this image.<br/>
|
|
525
|
+
> Brighten the pixels of this image.<br/> `value` is the amount to brighten each pixel by. <br/>
|
|
526
526
|
> Negative values decrease the brightness and positive values increase it.
|
|
527
527
|
|
|
528
528
|
```ts
|
|
@@ -531,7 +531,7 @@ brighten(brightness: number): this
|
|
|
531
531
|
|
|
532
532
|
#### `huerotate`
|
|
533
533
|
|
|
534
|
-
> Hue rotate the supplied image.<br/>
|
|
534
|
+
> Hue rotate the supplied image.<br/> `value` is the degrees to rotate each pixel by.
|
|
535
535
|
> 0 and 360 do nothing, the rest rotates by the given degree value.
|
|
536
536
|
> just like the css webkit filter hue-rotate(180)
|
|
537
537
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@napi-rs/image",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"description": "Image processing library",
|
|
@@ -60,19 +60,22 @@
|
|
|
60
60
|
"version": "napi version"
|
|
61
61
|
},
|
|
62
62
|
"repository": "git@github.com:Brooooooklyn/Image.git",
|
|
63
|
-
"
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@napi-rs/cli": "^2.6.2"
|
|
65
|
+
},
|
|
66
|
+
"gitHead": "855bdd78141f967a1dd3de048c6364710a55c1ab",
|
|
64
67
|
"optionalDependencies": {
|
|
65
|
-
"@napi-rs/image-win32-x64-msvc": "1.1.
|
|
66
|
-
"@napi-rs/image-darwin-x64": "1.1.
|
|
67
|
-
"@napi-rs/image-linux-x64-gnu": "1.1.
|
|
68
|
-
"@napi-rs/image-darwin-arm64": "1.1.
|
|
69
|
-
"@napi-rs/image-android-arm64": "1.1.
|
|
70
|
-
"@napi-rs/image-linux-arm64-gnu": "1.1.
|
|
71
|
-
"@napi-rs/image-linux-arm64-musl": "1.1.
|
|
72
|
-
"@napi-rs/image-linux-arm-gnueabihf": "1.1.
|
|
73
|
-
"@napi-rs/image-linux-x64-musl": "1.1.
|
|
74
|
-
"@napi-rs/image-freebsd-x64": "1.1.
|
|
75
|
-
"@napi-rs/image-win32-ia32-msvc": "1.1.
|
|
76
|
-
"@napi-rs/image-android-arm-eabi": "1.1.
|
|
68
|
+
"@napi-rs/image-win32-x64-msvc": "1.1.2",
|
|
69
|
+
"@napi-rs/image-darwin-x64": "1.1.2",
|
|
70
|
+
"@napi-rs/image-linux-x64-gnu": "1.1.2",
|
|
71
|
+
"@napi-rs/image-darwin-arm64": "1.1.2",
|
|
72
|
+
"@napi-rs/image-android-arm64": "1.1.2",
|
|
73
|
+
"@napi-rs/image-linux-arm64-gnu": "1.1.2",
|
|
74
|
+
"@napi-rs/image-linux-arm64-musl": "1.1.2",
|
|
75
|
+
"@napi-rs/image-linux-arm-gnueabihf": "1.1.2",
|
|
76
|
+
"@napi-rs/image-linux-x64-musl": "1.1.2",
|
|
77
|
+
"@napi-rs/image-freebsd-x64": "1.1.2",
|
|
78
|
+
"@napi-rs/image-win32-ia32-msvc": "1.1.2",
|
|
79
|
+
"@napi-rs/image-android-arm-eabi": "1.1.2"
|
|
77
80
|
}
|
|
78
81
|
}
|