Skip to content

Commit b280896

Browse files
committed
Update fximg.ts
1 parent 7f81740 commit b280896

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

fximg.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,24 @@ namespace fximges {
2525
// fximg pixel-data -> 1nibble per 1pixel (1-16 index color)
2626
//
2727
// data structure
28-
// [ byte1 = header'sHashDB ]
29-
// [ byte1 = header ]
30-
// [ byte1 = metadata'sHashDB]
31-
// [ byte1>2>4 = width ]
32-
// [ byte1>2>4 = height ]
33-
// [ byte1>2>4 = length ]
34-
// [ byte1<n = nibblePixelData ]
28+
// [ byte1 = header'sHashDB ]
29+
// [ byte1 = header ]
30+
// [ byte1 = metadata'sHashDB]
31+
// [ byte1>2>4 = width ]
32+
// [ byte1>2>4 = height ]
33+
// [ byte1>2>4 = length ]
34+
// [ byte1<(n-6) = nibblePixelData ]
35+
// [ byte(n-5)<(n-1) = offsetData ]
36+
// [ byte(n) = offset'sHashDB ]
3537

3638
}
3739

3840
interface Fximg extends Buffer {
39-
readonly width: number;
41+
//readonly width: number;
4042

41-
readonly height: number;
43+
//readonly height: number;
4244

43-
readonly length: number;
45+
//readonly length: number;
4446
}
4547

4648
namespace Fximg {

0 commit comments

Comments
 (0)