@thi.ng/pixel-dither 1.1.194 → 1.1.196
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 +18 -17
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/pixel-dither)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Status](#status)
|
|
@@ -26,9 +27,9 @@
|
|
|
26
27
|
|
|
27
28
|
## About
|
|
28
29
|
|
|
29
|
-

|
|
30
31
|
|
|
31
|
-
Extensible image dithering w/ various algorithm presets. This is a support package for [@thi.ng/pixel](https://
|
|
32
|
+
Extensible image dithering w/ various algorithm presets. This is a support package for [@thi.ng/pixel](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/pixel).
|
|
32
33
|
|
|
33
34
|
The package provides the following dithering algorithm presets (can also be
|
|
34
35
|
very easily extended via definition of custom kernels):
|
|
@@ -47,7 +48,7 @@ very easily extended via definition of custom kernels):
|
|
|
47
48
|
|
|
48
49
|
**STABLE** - used in production
|
|
49
50
|
|
|
50
|
-
[Search or submit any issues for this package](https://
|
|
51
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bpixel-dither%5D)
|
|
51
52
|
|
|
52
53
|
## Installation
|
|
53
54
|
|
|
@@ -79,21 +80,21 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.06 KB
|
|
|
79
80
|
|
|
80
81
|
## Dependencies
|
|
81
82
|
|
|
82
|
-
- [@thi.ng/checks](https://
|
|
83
|
-
- [@thi.ng/math](https://
|
|
84
|
-
- [@thi.ng/pixel](https://
|
|
83
|
+
- [@thi.ng/checks](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/checks)
|
|
84
|
+
- [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
|
|
85
|
+
- [@thi.ng/pixel](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/pixel)
|
|
85
86
|
|
|
86
87
|
## Usage examples
|
|
87
88
|
|
|
88
89
|
Three projects in this repo's
|
|
89
|
-
[/examples](https://
|
|
90
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
90
91
|
directory are using this package:
|
|
91
92
|
|
|
92
|
-
| Screenshot | Description | Live demo | Source
|
|
93
|
-
|
|
94
|
-
| <img src="https://
|
|
95
|
-
| <img src="https://
|
|
96
|
-
| <img src="https://
|
|
93
|
+
| Screenshot | Description | Live demo | Source |
|
|
94
|
+
|:---------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------|:----------------------------------------------------|:-----------------------------------------------------------------------------------------|
|
|
95
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/pixel-dither.jpg" width="240"/> | Showcase of various dithering algorithms | [Demo](https://demo.thi.ng/umbrella/pixel-dither/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/pixel-dither) |
|
|
96
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/pixel-indexed.jpg" width="240"/> | Image dithering and remapping using indexed palettes | [Demo](https://demo.thi.ng/umbrella/pixel-indexed/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/pixel-indexed) |
|
|
97
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/trace-bitmap.jpg" width="240"/> | Multi-layer vectorization & dithering of bitmap images | [Demo](https://demo.thi.ng/umbrella/trace-bitmap/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/trace-bitmap) |
|
|
97
98
|
|
|
98
99
|
## API
|
|
99
100
|
|
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.196",
|
|
4
4
|
"description": "Extensible image dithering w/ various algorithm presets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/pixel-dither"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/pixel-dither",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/checks": "^3.8.
|
|
44
|
-
"@thi.ng/math": "^5.15.
|
|
45
|
-
"@thi.ng/pixel": "^7.5.
|
|
43
|
+
"@thi.ng/checks": "^3.8.9",
|
|
44
|
+
"@thi.ng/math": "^5.15.8",
|
|
45
|
+
"@thi.ng/pixel": "^7.5.28"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"esbuild": "^0.
|
|
49
|
-
"typedoc": "^0.28.
|
|
48
|
+
"esbuild": "^0.28.0",
|
|
49
|
+
"typedoc": "^0.28.18",
|
|
50
50
|
"typescript": "^5.9.3"
|
|
51
51
|
},
|
|
52
52
|
"keywords": [
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"parent": "@thi.ng/pixel",
|
|
118
118
|
"year": 2021
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "a780d4a5f6f5fc595c9d28527686f63534927d32"
|
|
121
121
|
}
|