@twin.org/image 0.0.1-next.9 → 0.0.2-next.3

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/docs/changelog.md CHANGED
@@ -1,5 +1,398 @@
1
1
  # @twin.org/image - Changelog
2
2
 
3
- ## 0.0.1-next.9
3
+ ## [0.0.2-next.3](https://github.com/twinfoundation/framework/compare/image-v0.0.2-next.2...image-v0.0.2-next.3) (2025-08-06)
4
+
5
+
6
+ ### Features
7
+
8
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
9
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
10
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
11
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
12
+
13
+
14
+ ### Dependencies
15
+
16
+ * The following workspace dependencies were updated
17
+ * dependencies
18
+ * @twin.org/core bumped from 0.0.2-next.2 to 0.0.2-next.3
19
+ * @twin.org/nameof bumped from 0.0.2-next.2 to 0.0.2-next.3
20
+ * devDependencies
21
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.2 to 0.0.2-next.3
22
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.2 to 0.0.2-next.3
23
+
24
+ ## [0.0.2-next.2](https://github.com/twinfoundation/framework/compare/image-v0.0.2-next.1...image-v0.0.2-next.2) (2025-08-06)
25
+
26
+
27
+ ### Features
28
+
29
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
30
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
31
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
32
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
33
+
34
+
35
+ ### Dependencies
36
+
37
+ * The following workspace dependencies were updated
38
+ * dependencies
39
+ * @twin.org/core bumped from 0.0.2-next.1 to 0.0.2-next.2
40
+ * @twin.org/nameof bumped from 0.0.2-next.1 to 0.0.2-next.2
41
+ * devDependencies
42
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.1 to 0.0.2-next.2
43
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.1 to 0.0.2-next.2
44
+
45
+ ## [0.0.2-next.1](https://github.com/twinfoundation/framework/compare/image-v0.0.2-next.0...image-v0.0.2-next.1) (2025-08-06)
46
+
47
+
48
+ ### Features
49
+
50
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
51
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
52
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
53
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
54
+
55
+
56
+ ### Dependencies
57
+
58
+ * The following workspace dependencies were updated
59
+ * dependencies
60
+ * @twin.org/core bumped from 0.0.2-next.0 to 0.0.2-next.1
61
+ * @twin.org/nameof bumped from 0.0.2-next.0 to 0.0.2-next.1
62
+ * devDependencies
63
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.0 to 0.0.2-next.1
64
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.0 to 0.0.2-next.1
65
+
66
+ ## 0.0.1 (2025-07-03)
67
+
68
+
69
+ ### Features
70
+
71
+ * release to production ([829d53d](https://github.com/twinfoundation/framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
72
+ * release to production ([5cf3a76](https://github.com/twinfoundation/framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
73
+
74
+
75
+ ### Dependencies
76
+
77
+ * The following workspace dependencies were updated
78
+ * dependencies
79
+ * @twin.org/core bumped from ^0.0.0 to ^0.0.1
80
+ * @twin.org/nameof bumped from ^0.0.0 to ^0.0.1
81
+ * devDependencies
82
+ * @twin.org/nameof-transformer bumped from ^0.0.0 to ^0.0.1
83
+ * @twin.org/nameof-vitest-plugin bumped from ^0.0.0 to ^0.0.1
84
+
85
+ ## [0.0.1-next.70](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.69...image-v0.0.1-next.70) (2025-07-02)
86
+
87
+
88
+ ### Features
89
+
90
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
91
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
92
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
93
+
94
+
95
+ ### Dependencies
96
+
97
+ * The following workspace dependencies were updated
98
+ * dependencies
99
+ * @twin.org/core bumped from 0.0.1-next.69 to 0.0.1-next.70
100
+ * @twin.org/nameof bumped from 0.0.1-next.69 to 0.0.1-next.70
101
+ * devDependencies
102
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.69 to 0.0.1-next.70
103
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.69 to 0.0.1-next.70
104
+
105
+ ## [0.0.1-next.69](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.68...image-v0.0.1-next.69) (2025-07-02)
106
+
107
+
108
+ ### Features
109
+
110
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
111
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
112
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
113
+
114
+
115
+ ### Dependencies
116
+
117
+ * The following workspace dependencies were updated
118
+ * dependencies
119
+ * @twin.org/core bumped from 0.0.1-next.68 to 0.0.1-next.69
120
+ * @twin.org/nameof bumped from 0.0.1-next.68 to 0.0.1-next.69
121
+ * devDependencies
122
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.68 to 0.0.1-next.69
123
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.68 to 0.0.1-next.69
124
+
125
+ ## [0.0.1-next.68](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.67...image-v0.0.1-next.68) (2025-07-02)
126
+
127
+
128
+ ### Features
129
+
130
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
131
+
132
+
133
+ ### Dependencies
134
+
135
+ * The following workspace dependencies were updated
136
+ * dependencies
137
+ * @twin.org/core bumped from 0.0.1-next.67 to 0.0.1-next.68
138
+ * @twin.org/nameof bumped from 0.0.1-next.67 to 0.0.1-next.68
139
+ * devDependencies
140
+ * @twin.org/nameof-transformer bumped from 0.0.1-next.67 to 0.0.1-next.68
141
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.67 to 0.0.1-next.68
142
+
143
+ ## [0.0.1-next.67](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.66...image-v0.0.1-next.67) (2025-06-26)
144
+
145
+
146
+ ### Miscellaneous Chores
147
+
148
+ * **image:** Synchronize repo versions
149
+
150
+
151
+ ### Dependencies
152
+
153
+ * The following workspace dependencies were updated
154
+ * dependencies
155
+ * @twin.org/core bumped from 0.0.1-next.66 to 0.0.1-next.67
156
+
157
+ ## [0.0.1-next.66](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.65...image-v0.0.1-next.66) (2025-06-26)
158
+
159
+
160
+ ### Miscellaneous Chores
161
+
162
+ * **image:** Synchronize repo versions
163
+
164
+
165
+ ### Dependencies
166
+
167
+ * The following workspace dependencies were updated
168
+ * dependencies
169
+ * @twin.org/core bumped from 0.0.1-next.65 to 0.0.1-next.66
170
+
171
+ ## [0.0.1-next.65](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.64...image-v0.0.1-next.65) (2025-06-19)
172
+
173
+
174
+ ### Miscellaneous Chores
175
+
176
+ * **image:** Synchronize repo versions
177
+
178
+
179
+ ### Dependencies
180
+
181
+ * The following workspace dependencies were updated
182
+ * dependencies
183
+ * @twin.org/core bumped from 0.0.1-next.64 to 0.0.1-next.65
184
+
185
+ ## [0.0.1-next.64](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.63...image-v0.0.1-next.64) (2025-06-19)
186
+
187
+
188
+ ### Miscellaneous Chores
189
+
190
+ * **image:** Synchronize repo versions
191
+
192
+
193
+ ### Dependencies
194
+
195
+ * The following workspace dependencies were updated
196
+ * dependencies
197
+ * @twin.org/core bumped from 0.0.1-next.63 to 0.0.1-next.64
198
+
199
+ ## [0.0.1-next.63](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.62...image-v0.0.1-next.63) (2025-06-18)
200
+
201
+
202
+ ### Miscellaneous Chores
203
+
204
+ * **image:** Synchronize repo versions
205
+
206
+
207
+ ### Dependencies
208
+
209
+ * The following workspace dependencies were updated
210
+ * dependencies
211
+ * @twin.org/core bumped from 0.0.1-next.62 to 0.0.1-next.63
212
+
213
+ ## [0.0.1-next.62](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.61...image-v0.0.1-next.62) (2025-06-17)
214
+
215
+
216
+ ### Features
217
+
218
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
219
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
220
+
221
+
222
+ ### Dependencies
223
+
224
+ * The following workspace dependencies were updated
225
+ * dependencies
226
+ * @twin.org/core bumped from 0.0.1-next.61 to 0.0.1-next.62
227
+
228
+ ## [0.0.1-next.61](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.60...image-v0.0.1-next.61) (2025-06-17)
229
+
230
+
231
+ ### Miscellaneous Chores
232
+
233
+ * **image:** Synchronize repo versions
234
+
235
+
236
+ ### Dependencies
237
+
238
+ * The following workspace dependencies were updated
239
+ * dependencies
240
+ * @twin.org/core bumped from 0.0.1-next.60 to 0.0.1-next.61
241
+
242
+ ## [0.0.1-next.60](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.59...image-v0.0.1-next.60) (2025-06-17)
243
+
244
+
245
+ ### Miscellaneous Chores
246
+
247
+ * **image:** Synchronize repo versions
248
+
249
+
250
+ ### Dependencies
251
+
252
+ * The following workspace dependencies were updated
253
+ * dependencies
254
+ * @twin.org/core bumped from 0.0.1-next.59 to 0.0.1-next.60
255
+
256
+ ## [0.0.1-next.59](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.58...image-v0.0.1-next.59) (2025-06-17)
257
+
258
+
259
+ ### Miscellaneous Chores
260
+
261
+ * **image:** Synchronize repo versions
262
+
263
+
264
+ ### Dependencies
265
+
266
+ * The following workspace dependencies were updated
267
+ * dependencies
268
+ * @twin.org/core bumped from 0.0.1-next.58 to 0.0.1-next.59
269
+
270
+ ## [0.0.1-next.58](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.57...image-v0.0.1-next.58) (2025-06-13)
271
+
272
+
273
+ ### Miscellaneous Chores
274
+
275
+ * **image:** Synchronize repo versions
276
+
277
+
278
+ ### Dependencies
279
+
280
+ * The following workspace dependencies were updated
281
+ * dependencies
282
+ * @twin.org/core bumped from 0.0.1-next.57 to 0.0.1-next.58
283
+
284
+ ## [0.0.1-next.57](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.56...image-v0.0.1-next.57) (2025-06-10)
285
+
286
+
287
+ ### Features
288
+
289
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
290
+
291
+
292
+ ### Dependencies
293
+
294
+ * The following workspace dependencies were updated
295
+ * dependencies
296
+ * @twin.org/core bumped from 0.0.1-next.56 to 0.0.1-next.57
297
+
298
+ ## [0.0.1-next.56](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.55...image-v0.0.1-next.56) (2025-05-08)
299
+
300
+
301
+ ### Miscellaneous Chores
302
+
303
+ * **image:** Synchronize repo versions
304
+
305
+
306
+ ### Dependencies
307
+
308
+ * The following workspace dependencies were updated
309
+ * dependencies
310
+ * @twin.org/core bumped from 0.0.1-next.55 to 0.0.1-next.56
311
+
312
+ ## [0.0.1-next.55](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.54...image-v0.0.1-next.55) (2025-05-07)
313
+
314
+
315
+ ### Miscellaneous Chores
316
+
317
+ * **image:** Synchronize repo versions
318
+
319
+
320
+ ### Dependencies
321
+
322
+ * The following workspace dependencies were updated
323
+ * dependencies
324
+ * @twin.org/core bumped from 0.0.1-next.54 to 0.0.1-next.55
325
+
326
+ ## [0.0.1-next.54](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.53...image-v0.0.1-next.54) (2025-05-06)
327
+
328
+
329
+ ### Miscellaneous Chores
330
+
331
+ * **image:** Synchronize repo versions
332
+
333
+
334
+ ### Dependencies
335
+
336
+ * The following workspace dependencies were updated
337
+ * dependencies
338
+ * @twin.org/core bumped from 0.0.1-next.53 to 0.0.1-next.54
339
+
340
+ ## [0.0.1-next.53](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.52...image-v0.0.1-next.53) (2025-05-01)
341
+
342
+
343
+ ### Miscellaneous Chores
344
+
345
+ * **image:** Synchronize repo versions
346
+
347
+
348
+ ### Dependencies
349
+
350
+ * The following workspace dependencies were updated
351
+ * dependencies
352
+ * @twin.org/core bumped from 0.0.1-next.52 to 0.0.1-next.53
353
+
354
+ ## [0.0.1-next.52](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.51...image-v0.0.1-next.52) (2025-04-17)
355
+
356
+
357
+ ### Features
358
+
359
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
360
+
361
+
362
+ ### Dependencies
363
+
364
+ * The following workspace dependencies were updated
365
+ * dependencies
366
+ * @twin.org/core bumped from 0.0.1-next.51 to 0.0.1-next.52
367
+
368
+ ## [0.0.1-next.51](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.50...image-v0.0.1-next.51) (2025-03-27)
369
+
370
+
371
+ ### Miscellaneous Chores
372
+
373
+ * **image:** Synchronize repo versions
374
+
375
+
376
+ ### Dependencies
377
+
378
+ * The following workspace dependencies were updated
379
+ * dependencies
380
+ * @twin.org/core bumped from 0.0.1-next.50 to 0.0.1-next.51
381
+
382
+ ## [0.0.1-next.50](https://github.com/twinfoundation/framework/compare/image-v0.0.1-next.49...image-v0.0.1-next.50) (2025-03-26)
383
+
384
+
385
+ ### Miscellaneous Chores
386
+
387
+ * **image:** Synchronize repo versions
388
+
389
+
390
+ ### Dependencies
391
+
392
+ * The following workspace dependencies were updated
393
+ * dependencies
394
+ * @twin.org/core bumped from 0.0.1-next.49 to 0.0.1-next.50
395
+
396
+ ## 0.0.1-next.49
4
397
 
5
398
  - Initial Release
@@ -4,51 +4,61 @@ Class to represent a color.
4
4
 
5
5
  ## Constructors
6
6
 
7
- ### new Color()
7
+ ### Constructor
8
8
 
9
- > **new Color**(`alpha`, `red`, `green`, `blue`): [`Color`](Color.md)
9
+ > **new Color**(`alpha`, `red`, `green`, `blue`): `Color`
10
10
 
11
11
  Create a new instance of color.
12
12
 
13
13
  #### Parameters
14
14
 
15
- **alpha**: `number`
15
+ ##### alpha
16
+
17
+ `number`
16
18
 
17
19
  The alpha element of the color.
18
20
 
19
- **red**: `number`
21
+ ##### red
22
+
23
+ `number`
20
24
 
21
25
  The red element of the color.
22
26
 
23
- **green**: `number`
27
+ ##### green
28
+
29
+ `number`
24
30
 
25
31
  The green element of the color.
26
32
 
27
- **blue**: `number`
33
+ ##### blue
34
+
35
+ `number`
28
36
 
29
37
  The blue element of the color.
30
38
 
31
39
  #### Returns
32
40
 
33
- [`Color`](Color.md)
41
+ `Color`
34
42
 
35
43
  ## Methods
36
44
 
37
45
  ### fromHex()
38
46
 
39
- > `static` **fromHex**(`hex`): [`Color`](Color.md)
47
+ > `static` **fromHex**(`hex`): `Color`
40
48
 
41
49
  Construct a color from a hex string.
42
50
 
43
51
  #### Parameters
44
52
 
45
- **hex**: `string`
53
+ ##### hex
54
+
55
+ `string`
46
56
 
47
57
  The hex string to parse.
48
58
 
49
59
  #### Returns
50
60
 
51
- [`Color`](Color.md)
61
+ `Color`
52
62
 
53
63
  The color.
54
64
 
@@ -60,19 +70,21 @@ Error if the format is incorrect.
60
70
 
61
71
  ### coerce()
62
72
 
63
- > `static` **coerce**(`value`): `undefined` \| [`Color`](Color.md)
73
+ > `static` **coerce**(`value`): `undefined` \| `Color`
64
74
 
65
75
  Coerce an unknown type to a color.
66
76
 
67
77
  #### Parameters
68
78
 
69
- **value**: `unknown`
79
+ ##### value
80
+
81
+ `unknown`
70
82
 
71
83
  The value to try and convert.
72
84
 
73
85
  #### Returns
74
86
 
75
- `undefined` \| [`Color`](Color.md)
87
+ `undefined` \| `Color`
76
88
 
77
89
  The color if one can be created.
78
90
 
@@ -5,15 +5,15 @@ Based on JPEG encoder ported to JavaScript and optimized by Andreas Ritter.
5
5
 
6
6
  ## Constructors
7
7
 
8
- ### new JpegEncoder()
8
+ ### Constructor
9
9
 
10
- > **new JpegEncoder**(): [`JpegEncoder`](JpegEncoder.md)
10
+ > **new JpegEncoder**(): `JpegEncoder`
11
11
 
12
12
  Create a new instance of JpegEncoder.
13
13
 
14
14
  #### Returns
15
15
 
16
- [`JpegEncoder`](JpegEncoder.md)
16
+ `JpegEncoder`
17
17
 
18
18
  ## Methods
19
19
 
@@ -25,19 +25,27 @@ Encode the image with the given quality.
25
25
 
26
26
  #### Parameters
27
27
 
28
- **width**: `number`
28
+ ##### width
29
+
30
+ `number`
29
31
 
30
32
  The width of the image to encode.
31
33
 
32
- **height**: `number`
34
+ ##### height
35
+
36
+ `number`
33
37
 
34
38
  The height of the image to encode.
35
39
 
36
- **imageData**: `Uint8Array`
40
+ ##### imageData
41
+
42
+ `Uint8Array`
37
43
 
38
44
  The data for the image.
39
45
 
40
- **quality**: `number`
46
+ ##### quality
47
+
48
+ `number`
41
49
 
42
50
  The quality to encode the image at.
43
51
 
@@ -5,38 +5,44 @@ Based on https://github.com/photopea/UPNG.js.
5
5
 
6
6
  ## Constructors
7
7
 
8
- ### new PngEncoder()
8
+ ### Constructor
9
9
 
10
- > **new PngEncoder**(): [`PngEncoder`](PngEncoder.md)
10
+ > **new PngEncoder**(): `PngEncoder`
11
11
 
12
12
  #### Returns
13
13
 
14
- [`PngEncoder`](PngEncoder.md)
14
+ `PngEncoder`
15
15
 
16
16
  ## Methods
17
17
 
18
18
  ### encode()
19
19
 
20
- > **encode**(`buffers`, `w`, `h`): `Promise`\<`Uint8Array`\>
20
+ > **encode**(`buffers`, `w`, `h`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
21
21
 
22
22
  Encode the image frames to png.
23
23
 
24
24
  #### Parameters
25
25
 
26
- **buffers**: `ArrayBuffer`[]
26
+ ##### buffers
27
+
28
+ `ArrayBuffer`[]
27
29
 
28
30
  The frame buffers to encode.
29
31
 
30
- **w**: `number`
32
+ ##### w
33
+
34
+ `number`
31
35
 
32
36
  The image width.
33
37
 
34
- **h**: `number`
38
+ ##### h
39
+
40
+ `number`
35
41
 
36
42
  The image height.
37
43
 
38
44
  #### Returns
39
45
 
40
- `Promise`\<`Uint8Array`\>
46
+ `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
41
47
 
42
48
  The data for the image.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/image",
3
- "version": "0.0.1-next.9",
3
+ "version": "0.0.2-next.3",
4
4
  "description": "Classes for image manipulation",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,17 +14,17 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "0.0.1-next.9",
18
- "@twin.org/nameof": "next"
17
+ "@twin.org/core": "0.0.2-next.3",
18
+ "@twin.org/nameof": "0.0.2-next.3"
19
19
  },
20
20
  "main": "./dist/cjs/index.cjs",
21
21
  "module": "./dist/esm/index.mjs",
22
22
  "types": "./dist/types/index.d.ts",
23
23
  "exports": {
24
24
  ".": {
25
+ "types": "./dist/types/index.d.ts",
25
26
  "require": "./dist/cjs/index.cjs",
26
- "import": "./dist/esm/index.mjs",
27
- "types": "./dist/types/index.d.ts"
27
+ "import": "./dist/esm/index.mjs"
28
28
  }
29
29
  },
30
30
  "files": [