@thi.ng/pixel-dither 1.1.112 → 1.1.113
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/CHANGELOG.md +1 -1
- package/README.md +2 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -119,6 +119,8 @@ diffused/distributed to neighbors. This approach makes it very easy to define
|
|
|
119
119
|
custom dither configs, like so:
|
|
120
120
|
|
|
121
121
|
```ts
|
|
122
|
+
import { ditherWith, type DitherKernel } from "@thi.ng/pixel-dither";
|
|
123
|
+
|
|
122
124
|
const CUSTOM: DitherKernel = {
|
|
123
125
|
// X offsets of neighbor pixels to update
|
|
124
126
|
ox: [1],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/pixel-dither",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.113",
|
|
4
4
|
"description": "Extensible image dithering w/ various algorithm presets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@thi.ng/checks": "^3.5.1",
|
|
39
39
|
"@thi.ng/math": "^5.10.4",
|
|
40
|
-
"@thi.ng/pixel": "^6.1.
|
|
40
|
+
"@thi.ng/pixel": "^6.1.15"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"parent": "@thi.ng/pixel",
|
|
106
106
|
"year": 2021
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "df9e312af741d87e6b450afcfea6a6e381662b1e\n"
|
|
109
109
|
}
|