@thi.ng/pixel-dither 1.1.112 → 1.1.114
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 +7 -6
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.114",
|
|
4
4
|
"description": "Extensible image dithering w/ various algorithm presets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -32,12 +32,13 @@
|
|
|
32
32
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
33
33
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
34
34
|
"pub": "yarn npm publish --access public",
|
|
35
|
-
"test": "bun test"
|
|
35
|
+
"test": "bun test",
|
|
36
|
+
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
|
-
"@thi.ng/checks": "^3.5.
|
|
39
|
-
"@thi.ng/math": "^5.10.
|
|
40
|
-
"@thi.ng/pixel": "^6.1.
|
|
39
|
+
"@thi.ng/checks": "^3.5.2",
|
|
40
|
+
"@thi.ng/math": "^5.10.5",
|
|
41
|
+
"@thi.ng/pixel": "^6.1.16"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -105,5 +106,5 @@
|
|
|
105
106
|
"parent": "@thi.ng/pixel",
|
|
106
107
|
"year": 2021
|
|
107
108
|
},
|
|
108
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "a421058a65ba76608d94129ac29451bfedaf201c\n"
|
|
109
110
|
}
|