@thi.ng/pixel-io-netpbm 2.1.192 → 2.1.194
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 +16 -15
- package/package.json +6 -6
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-io-netpbm)
|
|
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)
|
|
@@ -25,12 +26,12 @@
|
|
|
25
26
|
|
|
26
27
|
## About
|
|
27
28
|
|
|
28
|
-
Multi-format NetPBM reader & writer support for [@thi.ng/pixel](https://
|
|
29
|
+
Multi-format NetPBM reader & writer support for [@thi.ng/pixel](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/pixel).
|
|
29
30
|
|
|
30
31
|
This package can read & write binary
|
|
31
32
|
[NetPBM](https://en.wikipedia.org/wiki/Netpbm) image formats from byte
|
|
32
33
|
arrays/buffers to
|
|
33
|
-
[@thi.ng/pixel](https://
|
|
34
|
+
[@thi.ng/pixel](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/pixel)
|
|
34
35
|
pixel buffers (aka `PackedBuffer`).
|
|
35
36
|
|
|
36
37
|
| Source format | Destination format | Rec. file extension<sup>(1)</sup> |
|
|
@@ -50,7 +51,7 @@ size and other meta data (from comments), without parsing the full image.
|
|
|
50
51
|
|
|
51
52
|
**STABLE** - used in production
|
|
52
53
|
|
|
53
|
-
[Search or submit any issues for this package](https://
|
|
54
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bpixel-io-netpbm%5D)
|
|
54
55
|
|
|
55
56
|
## Installation
|
|
56
57
|
|
|
@@ -82,21 +83,21 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.25 KB
|
|
|
82
83
|
|
|
83
84
|
## Dependencies
|
|
84
85
|
|
|
85
|
-
- [@thi.ng/api](https://
|
|
86
|
-
- [@thi.ng/errors](https://
|
|
87
|
-
- [@thi.ng/pixel](https://
|
|
86
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
87
|
+
- [@thi.ng/errors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/errors)
|
|
88
|
+
- [@thi.ng/pixel](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/pixel)
|
|
88
89
|
|
|
89
90
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
90
91
|
|
|
91
92
|
## Usage examples
|
|
92
93
|
|
|
93
94
|
One project in this repo's
|
|
94
|
-
[/examples](https://
|
|
95
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
95
96
|
directory is using this package:
|
|
96
97
|
|
|
97
|
-
| Screenshot | Description | Live demo | Source
|
|
98
|
-
|
|
99
|
-
| <img src="https://
|
|
98
|
+
| Screenshot | Description | Live demo | Source |
|
|
99
|
+
|:--------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------|:---------------------------------------------------|:----------------------------------------------------------------------------------------|
|
|
100
|
+
| <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) |
|
|
100
101
|
|
|
101
102
|
## API
|
|
102
103
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/pixel-io-netpbm",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.194",
|
|
4
4
|
"description": "Multi-format NetPBM reader & writer support for @thi.ng/pixel",
|
|
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-io-netpbm"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/pixel-io-netpbm",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/errors": "^2.6.
|
|
45
|
-
"@thi.ng/pixel": "^7.5.
|
|
43
|
+
"@thi.ng/api": "^8.12.18",
|
|
44
|
+
"@thi.ng/errors": "^2.6.7",
|
|
45
|
+
"@thi.ng/pixel": "^7.5.27"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"esbuild": "^0.27.2",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"parent": "@thi.ng/pixel",
|
|
92
92
|
"year": 2021
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
95
95
|
}
|