@thi.ng/pixel-io-netpbm 2.1.10 → 2.1.13
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/package.json +9 -9
- package/write.d.ts +4 -4
package/CHANGELOG.md
CHANGED
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.13",
|
|
4
4
|
"description": "Multi-format NetPBM reader & writer support for @thi.ng/pixel",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
38
|
-
"@thi.ng/errors": "^2.1.
|
|
39
|
-
"@thi.ng/pixel": "^3.4.
|
|
37
|
+
"@thi.ng/api": "^8.3.7",
|
|
38
|
+
"@thi.ng/errors": "^2.1.7",
|
|
39
|
+
"@thi.ng/pixel": "^3.4.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@microsoft/api-extractor": "^7.
|
|
43
|
-
"@thi.ng/testament": "^0.2.
|
|
42
|
+
"@microsoft/api-extractor": "^7.25.0",
|
|
43
|
+
"@thi.ng/testament": "^0.2.8",
|
|
44
44
|
"rimraf": "^3.0.2",
|
|
45
45
|
"tools": "^0.0.1",
|
|
46
|
-
"typedoc": "^0.22.
|
|
47
|
-
"typescript": "^4.
|
|
46
|
+
"typedoc": "^0.22.17",
|
|
47
|
+
"typescript": "^4.7.3"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
50
50
|
"1bit",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"parent": "@thi.ng/pixel",
|
|
87
87
|
"year": 2021
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "9e516d30a1a537e027a6b3d78bf9121bc5831d31\n"
|
|
90
90
|
}
|
package/write.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type { IntBuffer } from "@thi.ng/pixel";
|
|
|
8
8
|
* @param buf -
|
|
9
9
|
* @param comments -
|
|
10
10
|
*/
|
|
11
|
-
export declare const asPBM: (buf: IntBuffer, comments?: string[]
|
|
11
|
+
export declare const asPBM: (buf: IntBuffer, comments?: string[]) => Uint8Array;
|
|
12
12
|
/**
|
|
13
13
|
* Converts a {@link IntBuffer} into a 8bit grayscale PGM byte array (binary
|
|
14
14
|
* format).
|
|
@@ -19,7 +19,7 @@ export declare const asPBM: (buf: IntBuffer, comments?: string[] | undefined) =>
|
|
|
19
19
|
* @param buf -
|
|
20
20
|
* @param comments -
|
|
21
21
|
*/
|
|
22
|
-
export declare const asPGM: (buf: IntBuffer, comments?: string[]
|
|
22
|
+
export declare const asPGM: (buf: IntBuffer, comments?: string[]) => Uint8Array;
|
|
23
23
|
/**
|
|
24
24
|
* Converts a {@link IntBuffer} into a 16bit grayscale PGM byte array (binary
|
|
25
25
|
* format).
|
|
@@ -30,7 +30,7 @@ export declare const asPGM: (buf: IntBuffer, comments?: string[] | undefined) =>
|
|
|
30
30
|
* @param buf -
|
|
31
31
|
* @param comments -
|
|
32
32
|
*/
|
|
33
|
-
export declare const asPGM16: (buf: IntBuffer, comments?: string[]
|
|
33
|
+
export declare const asPGM16: (buf: IntBuffer, comments?: string[]) => Uint8Array;
|
|
34
34
|
/**
|
|
35
35
|
* Converts a {@link IntBuffer} into a 24bit PPM byte array (binary format).
|
|
36
36
|
*
|
|
@@ -40,5 +40,5 @@ export declare const asPGM16: (buf: IntBuffer, comments?: string[] | undefined)
|
|
|
40
40
|
* @param buf -
|
|
41
41
|
* @param comments -
|
|
42
42
|
*/
|
|
43
|
-
export declare const asPPM: (buf: IntBuffer, comments?: string[]
|
|
43
|
+
export declare const asPPM: (buf: IntBuffer, comments?: string[]) => Uint8Array;
|
|
44
44
|
//# sourceMappingURL=write.d.ts.map
|