@thi.ng/pixel-io-netpbm 2.1.143 → 2.1.144
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/read.d.ts +5 -5
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.144",
|
|
4
4
|
"description": "Multi-format NetPBM reader & writer support for @thi.ng/pixel",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.11.
|
|
40
|
-
"@thi.ng/errors": "^2.5.
|
|
41
|
-
"@thi.ng/pixel": "^7.3.
|
|
39
|
+
"@thi.ng/api": "^8.11.10",
|
|
40
|
+
"@thi.ng/errors": "^2.5.16",
|
|
41
|
+
"@thi.ng/pixel": "^7.3.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@microsoft/api-extractor": "^7.47.
|
|
45
|
-
"esbuild": "^0.23.
|
|
46
|
-
"typedoc": "^0.26.
|
|
47
|
-
"typescript": "^5.
|
|
44
|
+
"@microsoft/api-extractor": "^7.47.9",
|
|
45
|
+
"esbuild": "^0.23.1",
|
|
46
|
+
"typedoc": "^0.26.7",
|
|
47
|
+
"typescript": "^5.6.2"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
50
50
|
"16bit",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"parent": "@thi.ng/pixel",
|
|
89
89
|
"year": 2021
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "b52baa3750ddd1256892df966ab7ac9b4806a9ef\n"
|
|
92
92
|
}
|
package/read.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const parseHeader: (src: Uint8Array) => {
|
|
|
30
30
|
*
|
|
31
31
|
* @param src -
|
|
32
32
|
*/
|
|
33
|
-
export declare const read: (src: Uint8Array) => import("@thi.ng/pixel
|
|
33
|
+
export declare const read: (src: Uint8Array) => import("@thi.ng/pixel").IntBuffer;
|
|
34
34
|
/**
|
|
35
35
|
* Reads pixels from given 1bit PBM file byte buffer, starting at index `i` and
|
|
36
36
|
* returns
|
|
@@ -42,7 +42,7 @@ export declare const read: (src: Uint8Array) => import("@thi.ng/pixel/int").IntB
|
|
|
42
42
|
* @param width -
|
|
43
43
|
* @param height -
|
|
44
44
|
*/
|
|
45
|
-
export declare const readPBM: (src: Uint8Array, i: number, width: number, height: number) => import("@thi.ng/pixel
|
|
45
|
+
export declare const readPBM: (src: Uint8Array, i: number, width: number, height: number) => import("@thi.ng/pixel").IntBuffer;
|
|
46
46
|
/**
|
|
47
47
|
* Reads pixels from given 8bit PGM file byte buffer, starting at index `i` and
|
|
48
48
|
* returns
|
|
@@ -59,7 +59,7 @@ export declare const readPBM: (src: Uint8Array, i: number, width: number, height
|
|
|
59
59
|
* @param height -
|
|
60
60
|
* @param max -
|
|
61
61
|
*/
|
|
62
|
-
export declare const readPGM8: (src: Uint8Array, i: number, width: number, height: number, max?: number) => import("@thi.ng/pixel
|
|
62
|
+
export declare const readPGM8: (src: Uint8Array, i: number, width: number, height: number, max?: number) => import("@thi.ng/pixel").IntBuffer;
|
|
63
63
|
/**
|
|
64
64
|
* Reads pixels from given 16bit PGM file byte buffer, starting at index `i` and
|
|
65
65
|
* returns
|
|
@@ -76,7 +76,7 @@ export declare const readPGM8: (src: Uint8Array, i: number, width: number, heigh
|
|
|
76
76
|
* @param height -
|
|
77
77
|
* @param max -
|
|
78
78
|
*/
|
|
79
|
-
export declare const readPGM16: (src: Uint8Array, i: number, width: number, height: number, max?: number) => import("@thi.ng/pixel
|
|
79
|
+
export declare const readPGM16: (src: Uint8Array, i: number, width: number, height: number, max?: number) => import("@thi.ng/pixel").IntBuffer;
|
|
80
80
|
/**
|
|
81
81
|
* Reads pixels from given 24bit PPM file byte buffer, starting at index `i` and
|
|
82
82
|
* returns
|
|
@@ -93,5 +93,5 @@ export declare const readPGM16: (src: Uint8Array, i: number, width: number, heig
|
|
|
93
93
|
* @param height -
|
|
94
94
|
* @param max -
|
|
95
95
|
*/
|
|
96
|
-
export declare const readPPM: (src: Uint8Array, i: number, width: number, height: number, max?: number) => import("@thi.ng/pixel
|
|
96
|
+
export declare const readPPM: (src: Uint8Array, i: number, width: number, height: number, max?: number) => import("@thi.ng/pixel").IntBuffer;
|
|
97
97
|
//# sourceMappingURL=read.d.ts.map
|