@twin.org/image 0.0.3-next.3 → 0.0.3-next.30

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 CHANGED
@@ -1,9 +1,6 @@
1
1
  # TWIN Image
2
2
 
3
- This package contains classes for processing images.
4
-
5
- - JpegEncoder
6
- - PngEncoder
3
+ This package is part of the framework workspace and provides classes for image manipulation to support consistent development workflows across the ecosystem.
7
4
 
8
5
  ## Installation
9
6
 
package/docs/changelog.md CHANGED
@@ -1,4 +1,531 @@
1
- # @twin.org/image - Changelog
1
+ # Changelog
2
+
3
+ ## [0.0.3-next.30](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.29...image-v0.0.3-next.30) (2026-04-14)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **image:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/core bumped from 0.0.3-next.29 to 0.0.3-next.30
16
+ * @twin.org/nameof bumped from 0.0.3-next.29 to 0.0.3-next.30
17
+ * devDependencies
18
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.29 to 0.0.3-next.30
19
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.29 to 0.0.3-next.30
20
+ * @twin.org/validate-locales bumped from 0.0.3-next.29 to 0.0.3-next.30
21
+
22
+ ## [0.0.3-next.29](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.28...image-v0.0.3-next.29) (2026-04-14)
23
+
24
+
25
+ ### Miscellaneous Chores
26
+
27
+ * **image:** Synchronize repo versions
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * The following workspace dependencies were updated
33
+ * dependencies
34
+ * @twin.org/core bumped from 0.0.3-next.28 to 0.0.3-next.29
35
+ * @twin.org/nameof bumped from 0.0.3-next.28 to 0.0.3-next.29
36
+ * devDependencies
37
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.28 to 0.0.3-next.29
38
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.28 to 0.0.3-next.29
39
+ * @twin.org/validate-locales bumped from 0.0.3-next.28 to 0.0.3-next.29
40
+
41
+ ## [0.0.3-next.28](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.27...image-v0.0.3-next.28) (2026-03-27)
42
+
43
+
44
+ ### Miscellaneous Chores
45
+
46
+ * **image:** Synchronize repo versions
47
+
48
+
49
+ ### Dependencies
50
+
51
+ * The following workspace dependencies were updated
52
+ * dependencies
53
+ * @twin.org/core bumped from 0.0.3-next.27 to 0.0.3-next.28
54
+ * @twin.org/nameof bumped from 0.0.3-next.27 to 0.0.3-next.28
55
+ * devDependencies
56
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.27 to 0.0.3-next.28
57
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.27 to 0.0.3-next.28
58
+ * @twin.org/validate-locales bumped from 0.0.3-next.27 to 0.0.3-next.28
59
+
60
+ ## [0.0.3-next.27](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.26...image-v0.0.3-next.27) (2026-03-27)
61
+
62
+
63
+ ### Miscellaneous Chores
64
+
65
+ * **image:** Synchronize repo versions
66
+
67
+
68
+ ### Dependencies
69
+
70
+ * The following workspace dependencies were updated
71
+ * dependencies
72
+ * @twin.org/core bumped from 0.0.3-next.26 to 0.0.3-next.27
73
+ * @twin.org/nameof bumped from 0.0.3-next.26 to 0.0.3-next.27
74
+ * devDependencies
75
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.26 to 0.0.3-next.27
76
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.26 to 0.0.3-next.27
77
+ * @twin.org/validate-locales bumped from 0.0.3-next.26 to 0.0.3-next.27
78
+
79
+ ## [0.0.3-next.26](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.25...image-v0.0.3-next.26) (2026-03-24)
80
+
81
+
82
+ ### Miscellaneous Chores
83
+
84
+ * **image:** Synchronize repo versions
85
+
86
+
87
+ ### Dependencies
88
+
89
+ * The following workspace dependencies were updated
90
+ * dependencies
91
+ * @twin.org/core bumped from 0.0.3-next.25 to 0.0.3-next.26
92
+ * @twin.org/nameof bumped from 0.0.3-next.25 to 0.0.3-next.26
93
+ * devDependencies
94
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.25 to 0.0.3-next.26
95
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.25 to 0.0.3-next.26
96
+ * @twin.org/validate-locales bumped from 0.0.3-next.25 to 0.0.3-next.26
97
+
98
+ ## [0.0.3-next.25](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.24...image-v0.0.3-next.25) (2026-03-23)
99
+
100
+
101
+ ### Miscellaneous Chores
102
+
103
+ * **image:** Synchronize repo versions
104
+
105
+
106
+ ### Dependencies
107
+
108
+ * The following workspace dependencies were updated
109
+ * dependencies
110
+ * @twin.org/core bumped from 0.0.3-next.24 to 0.0.3-next.25
111
+ * @twin.org/nameof bumped from 0.0.3-next.24 to 0.0.3-next.25
112
+ * devDependencies
113
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.24 to 0.0.3-next.25
114
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.24 to 0.0.3-next.25
115
+ * @twin.org/validate-locales bumped from 0.0.3-next.24 to 0.0.3-next.25
116
+
117
+ ## [0.0.3-next.24](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.23...image-v0.0.3-next.24) (2026-03-19)
118
+
119
+
120
+ ### Bug Fixes
121
+
122
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/twinfoundation/framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
123
+
124
+
125
+ ### Dependencies
126
+
127
+ * The following workspace dependencies were updated
128
+ * dependencies
129
+ * @twin.org/core bumped from 0.0.3-next.23 to 0.0.3-next.24
130
+ * @twin.org/nameof bumped from 0.0.3-next.23 to 0.0.3-next.24
131
+ * devDependencies
132
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.23 to 0.0.3-next.24
133
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.23 to 0.0.3-next.24
134
+ * @twin.org/validate-locales bumped from 0.0.3-next.23 to 0.0.3-next.24
135
+
136
+ ## [0.0.3-next.23](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.22...image-v0.0.3-next.23) (2026-03-17)
137
+
138
+
139
+ ### Miscellaneous Chores
140
+
141
+ * **image:** Synchronize repo versions
142
+
143
+
144
+ ### Dependencies
145
+
146
+ * The following workspace dependencies were updated
147
+ * dependencies
148
+ * @twin.org/core bumped from 0.0.3-next.22 to 0.0.3-next.23
149
+ * @twin.org/nameof bumped from 0.0.3-next.22 to 0.0.3-next.23
150
+ * devDependencies
151
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.22 to 0.0.3-next.23
152
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.22 to 0.0.3-next.23
153
+ * @twin.org/validate-locales bumped from 0.0.3-next.22 to 0.0.3-next.23
154
+
155
+ ## [0.0.3-next.22](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.21...image-v0.0.3-next.22) (2026-02-26)
156
+
157
+
158
+ ### Miscellaneous Chores
159
+
160
+ * **image:** Synchronize repo versions
161
+
162
+
163
+ ### Dependencies
164
+
165
+ * The following workspace dependencies were updated
166
+ * dependencies
167
+ * @twin.org/core bumped from 0.0.3-next.21 to 0.0.3-next.22
168
+ * @twin.org/nameof bumped from 0.0.3-next.21 to 0.0.3-next.22
169
+ * devDependencies
170
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.21 to 0.0.3-next.22
171
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.21 to 0.0.3-next.22
172
+ * @twin.org/validate-locales bumped from 0.0.3-next.21 to 0.0.3-next.22
173
+
174
+ ## [0.0.3-next.21](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.20...image-v0.0.3-next.21) (2026-02-26)
175
+
176
+
177
+ ### Features
178
+
179
+ * add context id features ([#206](https://github.com/twinfoundation/framework/issues/206)) ([ef0d4ee](https://github.com/twinfoundation/framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
180
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
181
+ * eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
182
+ * locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
183
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
184
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
185
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
186
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
187
+
188
+
189
+ ### Dependencies
190
+
191
+ * The following workspace dependencies were updated
192
+ * dependencies
193
+ * @twin.org/core bumped from 0.0.3-next.20 to 0.0.3-next.21
194
+ * @twin.org/nameof bumped from 0.0.3-next.20 to 0.0.3-next.21
195
+ * devDependencies
196
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.20 to 0.0.3-next.21
197
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.20 to 0.0.3-next.21
198
+ * @twin.org/validate-locales bumped from 0.0.3-next.20 to 0.0.3-next.21
199
+
200
+ ## [0.0.3-next.20](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.19...image-v0.0.3-next.20) (2026-02-26)
201
+
202
+
203
+ ### Miscellaneous Chores
204
+
205
+ * **image:** Synchronize repo versions
206
+
207
+
208
+ ### Dependencies
209
+
210
+ * The following workspace dependencies were updated
211
+ * dependencies
212
+ * @twin.org/core bumped from 0.0.3-next.19 to 0.0.3-next.20
213
+ * @twin.org/nameof bumped from 0.0.3-next.19 to 0.0.3-next.20
214
+ * devDependencies
215
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.19 to 0.0.3-next.20
216
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.19 to 0.0.3-next.20
217
+ * @twin.org/validate-locales bumped from 0.0.3-next.19 to 0.0.3-next.20
218
+
219
+ ## [0.0.3-next.19](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.18...image-v0.0.3-next.19) (2026-02-26)
220
+
221
+
222
+ ### Miscellaneous Chores
223
+
224
+ * **image:** Synchronize repo versions
225
+
226
+
227
+ ### Dependencies
228
+
229
+ * The following workspace dependencies were updated
230
+ * dependencies
231
+ * @twin.org/core bumped from 0.0.3-next.18 to 0.0.3-next.19
232
+ * @twin.org/nameof bumped from 0.0.3-next.18 to 0.0.3-next.19
233
+ * devDependencies
234
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.18 to 0.0.3-next.19
235
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.18 to 0.0.3-next.19
236
+ * @twin.org/validate-locales bumped from 0.0.3-next.18 to 0.0.3-next.19
237
+
238
+ ## [0.0.3-next.18](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.17...image-v0.0.3-next.18) (2026-02-23)
239
+
240
+
241
+ ### Miscellaneous Chores
242
+
243
+ * **image:** Synchronize repo versions
244
+
245
+
246
+ ### Dependencies
247
+
248
+ * The following workspace dependencies were updated
249
+ * dependencies
250
+ * @twin.org/core bumped from 0.0.3-next.17 to 0.0.3-next.18
251
+ * @twin.org/nameof bumped from 0.0.3-next.17 to 0.0.3-next.18
252
+ * devDependencies
253
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.17 to 0.0.3-next.18
254
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.17 to 0.0.3-next.18
255
+ * @twin.org/validate-locales bumped from 0.0.3-next.17 to 0.0.3-next.18
256
+
257
+ ## [0.0.3-next.17](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.16...image-v0.0.3-next.17) (2026-02-09)
258
+
259
+
260
+ ### Miscellaneous Chores
261
+
262
+ * **image:** Synchronize repo versions
263
+
264
+
265
+ ### Dependencies
266
+
267
+ * The following workspace dependencies were updated
268
+ * dependencies
269
+ * @twin.org/core bumped from 0.0.3-next.16 to 0.0.3-next.17
270
+ * @twin.org/nameof bumped from 0.0.3-next.16 to 0.0.3-next.17
271
+ * devDependencies
272
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.16 to 0.0.3-next.17
273
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.16 to 0.0.3-next.17
274
+ * @twin.org/validate-locales bumped from 0.0.3-next.16 to 0.0.3-next.17
275
+
276
+ ## [0.0.3-next.16](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.15...image-v0.0.3-next.16) (2026-02-06)
277
+
278
+
279
+ ### Miscellaneous Chores
280
+
281
+ * **image:** Synchronize repo versions
282
+
283
+
284
+ ### Dependencies
285
+
286
+ * The following workspace dependencies were updated
287
+ * dependencies
288
+ * @twin.org/core bumped from 0.0.3-next.15 to 0.0.3-next.16
289
+ * @twin.org/nameof bumped from 0.0.3-next.15 to 0.0.3-next.16
290
+ * devDependencies
291
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.15 to 0.0.3-next.16
292
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.15 to 0.0.3-next.16
293
+ * @twin.org/validate-locales bumped from 0.0.3-next.15 to 0.0.3-next.16
294
+
295
+ ## [0.0.3-next.15](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.14...image-v0.0.3-next.15) (2026-01-29)
296
+
297
+
298
+ ### Miscellaneous Chores
299
+
300
+ * **image:** Synchronize repo versions
301
+
302
+
303
+ ### Dependencies
304
+
305
+ * The following workspace dependencies were updated
306
+ * dependencies
307
+ * @twin.org/core bumped from 0.0.3-next.14 to 0.0.3-next.15
308
+ * @twin.org/nameof bumped from 0.0.3-next.14 to 0.0.3-next.15
309
+ * devDependencies
310
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.14 to 0.0.3-next.15
311
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.14 to 0.0.3-next.15
312
+ * @twin.org/validate-locales bumped from 0.0.3-next.14 to 0.0.3-next.15
313
+
314
+ ## [0.0.3-next.14](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.13...image-v0.0.3-next.14) (2026-01-22)
315
+
316
+
317
+ ### Miscellaneous Chores
318
+
319
+ * **image:** Synchronize repo versions
320
+
321
+
322
+ ### Dependencies
323
+
324
+ * The following workspace dependencies were updated
325
+ * dependencies
326
+ * @twin.org/core bumped from 0.0.3-next.13 to 0.0.3-next.14
327
+ * @twin.org/nameof bumped from 0.0.3-next.13 to 0.0.3-next.14
328
+ * devDependencies
329
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.13 to 0.0.3-next.14
330
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.13 to 0.0.3-next.14
331
+ * @twin.org/validate-locales bumped from 0.0.3-next.13 to 0.0.3-next.14
332
+
333
+ ## [0.0.3-next.13](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.12...image-v0.0.3-next.13) (2026-01-08)
334
+
335
+
336
+ ### Miscellaneous Chores
337
+
338
+ * **image:** Synchronize repo versions
339
+
340
+
341
+ ### Dependencies
342
+
343
+ * The following workspace dependencies were updated
344
+ * dependencies
345
+ * @twin.org/core bumped from 0.0.3-next.12 to 0.0.3-next.13
346
+ * @twin.org/nameof bumped from 0.0.3-next.12 to 0.0.3-next.13
347
+ * devDependencies
348
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.12 to 0.0.3-next.13
349
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.12 to 0.0.3-next.13
350
+ * @twin.org/validate-locales bumped from 0.0.3-next.12 to 0.0.3-next.13
351
+
352
+ ## [0.0.3-next.12](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.11...image-v0.0.3-next.12) (2026-01-08)
353
+
354
+
355
+ ### Miscellaneous Chores
356
+
357
+ * **image:** Synchronize repo versions
358
+
359
+
360
+ ### Dependencies
361
+
362
+ * The following workspace dependencies were updated
363
+ * dependencies
364
+ * @twin.org/core bumped from 0.0.3-next.11 to 0.0.3-next.12
365
+ * @twin.org/nameof bumped from 0.0.3-next.11 to 0.0.3-next.12
366
+ * devDependencies
367
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.11 to 0.0.3-next.12
368
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.11 to 0.0.3-next.12
369
+ * @twin.org/validate-locales bumped from 0.0.3-next.11 to 0.0.3-next.12
370
+
371
+ ## [0.0.3-next.11](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.10...image-v0.0.3-next.11) (2026-01-07)
372
+
373
+
374
+ ### Miscellaneous Chores
375
+
376
+ * **image:** Synchronize repo versions
377
+
378
+
379
+ ### Dependencies
380
+
381
+ * The following workspace dependencies were updated
382
+ * dependencies
383
+ * @twin.org/core bumped from 0.0.3-next.10 to 0.0.3-next.11
384
+ * @twin.org/nameof bumped from 0.0.3-next.10 to 0.0.3-next.11
385
+ * devDependencies
386
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.10 to 0.0.3-next.11
387
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.10 to 0.0.3-next.11
388
+ * @twin.org/validate-locales bumped from 0.0.3-next.10 to 0.0.3-next.11
389
+
390
+ ## [0.0.3-next.10](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.9...image-v0.0.3-next.10) (2026-01-07)
391
+
392
+
393
+ ### Miscellaneous Chores
394
+
395
+ * **image:** Synchronize repo versions
396
+
397
+
398
+ ### Dependencies
399
+
400
+ * The following workspace dependencies were updated
401
+ * dependencies
402
+ * @twin.org/core bumped from 0.0.3-next.9 to 0.0.3-next.10
403
+ * @twin.org/nameof bumped from 0.0.3-next.9 to 0.0.3-next.10
404
+ * devDependencies
405
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.9 to 0.0.3-next.10
406
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.9 to 0.0.3-next.10
407
+ * @twin.org/validate-locales bumped from 0.0.3-next.9 to 0.0.3-next.10
408
+
409
+ ## [0.0.3-next.9](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.8...image-v0.0.3-next.9) (2026-01-05)
410
+
411
+
412
+ ### Miscellaneous Chores
413
+
414
+ * **image:** Synchronize repo versions
415
+
416
+
417
+ ### Dependencies
418
+
419
+ * The following workspace dependencies were updated
420
+ * dependencies
421
+ * @twin.org/core bumped from 0.0.3-next.8 to 0.0.3-next.9
422
+ * @twin.org/nameof bumped from 0.0.3-next.8 to 0.0.3-next.9
423
+ * devDependencies
424
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.8 to 0.0.3-next.9
425
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.8 to 0.0.3-next.9
426
+ * @twin.org/validate-locales bumped from 0.0.3-next.8 to 0.0.3-next.9
427
+
428
+ ## [0.0.3-next.8](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.7...image-v0.0.3-next.8) (2025-11-26)
429
+
430
+
431
+ ### Miscellaneous Chores
432
+
433
+ * **image:** Synchronize repo versions
434
+
435
+
436
+ ### Dependencies
437
+
438
+ * The following workspace dependencies were updated
439
+ * dependencies
440
+ * @twin.org/core bumped from 0.0.3-next.7 to 0.0.3-next.8
441
+ * @twin.org/nameof bumped from 0.0.3-next.7 to 0.0.3-next.8
442
+ * devDependencies
443
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.7 to 0.0.3-next.8
444
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.7 to 0.0.3-next.8
445
+ * @twin.org/validate-locales bumped from 0.0.3-next.7 to 0.0.3-next.8
446
+
447
+ ## [0.0.3-next.7](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.6...image-v0.0.3-next.7) (2025-11-25)
448
+
449
+
450
+ ### Features
451
+
452
+ * add context id features ([#206](https://github.com/twinfoundation/framework/issues/206)) ([ef0d4ee](https://github.com/twinfoundation/framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
453
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
454
+ * eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
455
+ * locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
456
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
457
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
458
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
459
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
460
+
461
+
462
+ ### Dependencies
463
+
464
+ * The following workspace dependencies were updated
465
+ * dependencies
466
+ * @twin.org/core bumped from 0.0.3-next.6 to 0.0.3-next.7
467
+ * @twin.org/nameof bumped from 0.0.3-next.6 to 0.0.3-next.7
468
+ * devDependencies
469
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.6 to 0.0.3-next.7
470
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.6 to 0.0.3-next.7
471
+ * @twin.org/validate-locales bumped from 0.0.3-next.6 to 0.0.3-next.7
472
+
473
+ ## [0.0.3-next.6](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.5...image-v0.0.3-next.6) (2025-11-25)
474
+
475
+
476
+ ### Miscellaneous Chores
477
+
478
+ * **image:** Synchronize repo versions
479
+
480
+
481
+ ### Dependencies
482
+
483
+ * The following workspace dependencies were updated
484
+ * dependencies
485
+ * @twin.org/core bumped from 0.0.3-next.5 to 0.0.3-next.6
486
+ * @twin.org/nameof bumped from 0.0.3-next.5 to 0.0.3-next.6
487
+ * devDependencies
488
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.5 to 0.0.3-next.6
489
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.5 to 0.0.3-next.6
490
+ * @twin.org/validate-locales bumped from 0.0.3-next.5 to 0.0.3-next.6
491
+
492
+ ## [0.0.3-next.5](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.4...image-v0.0.3-next.5) (2025-11-20)
493
+
494
+
495
+ ### Miscellaneous Chores
496
+
497
+ * **image:** Synchronize repo versions
498
+
499
+
500
+ ### Dependencies
501
+
502
+ * The following workspace dependencies were updated
503
+ * dependencies
504
+ * @twin.org/core bumped from 0.0.3-next.4 to 0.0.3-next.5
505
+ * @twin.org/nameof bumped from 0.0.3-next.4 to 0.0.3-next.5
506
+ * devDependencies
507
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.4 to 0.0.3-next.5
508
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.4 to 0.0.3-next.5
509
+ * @twin.org/validate-locales bumped from 0.0.3-next.4 to 0.0.3-next.5
510
+
511
+ ## [0.0.3-next.4](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.3...image-v0.0.3-next.4) (2025-11-13)
512
+
513
+
514
+ ### Miscellaneous Chores
515
+
516
+ * **image:** Synchronize repo versions
517
+
518
+
519
+ ### Dependencies
520
+
521
+ * The following workspace dependencies were updated
522
+ * dependencies
523
+ * @twin.org/core bumped from 0.0.3-next.3 to 0.0.3-next.4
524
+ * @twin.org/nameof bumped from 0.0.3-next.3 to 0.0.3-next.4
525
+ * devDependencies
526
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.3 to 0.0.3-next.4
527
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.3 to 0.0.3-next.4
528
+ * @twin.org/validate-locales bumped from 0.0.3-next.3 to 0.0.3-next.4
2
529
 
3
530
  ## [0.0.3-next.3](https://github.com/twinfoundation/framework/compare/image-v0.0.3-next.2...image-v0.0.3-next.3) (2025-11-12)
4
531
 
package/docs/examples.md CHANGED
@@ -1 +1,48 @@
1
- # @twin.org/image - Examples
1
+ # Image Examples
2
+
3
+ Use these snippets for colour handling and image encoding when generating image assets.
4
+
5
+ ## Color
6
+
7
+ ```typescript
8
+ import { Color } from '@twin.org/image';
9
+
10
+ const accent = Color.fromHex('#4a90e2');
11
+
12
+ accent.red(); // 74
13
+ accent.green(); // 144
14
+ accent.blue(); // 226
15
+ accent.hexWithAlpha(); // '#ff4a90e2'
16
+ ```
17
+
18
+ ## JpegEncoder
19
+
20
+ ```typescript
21
+ import { Color, JpegEncoder } from '@twin.org/image';
22
+
23
+ const pixels = [
24
+ [Color.fromHex('#111111'), Color.fromHex('#eeeeee')],
25
+ [Color.fromHex('#eeeeee'), Color.fromHex('#111111')]
26
+ ];
27
+
28
+ const jpegBytes = JpegEncoder.encode(pixels, {
29
+ quality: 90
30
+ });
31
+
32
+ jpegBytes.length > 0; // true
33
+ ```
34
+
35
+ ## PngEncoder
36
+
37
+ ```typescript
38
+ import { Color, PngEncoder } from '@twin.org/image';
39
+
40
+ const pixels = [
41
+ [Color.fromHex('#ff0000'), Color.fromHex('#00ff00')],
42
+ [Color.fromHex('#0000ff'), Color.fromHex('#ffffff')]
43
+ ];
44
+
45
+ const pngBytes = PngEncoder.encode(pixels);
46
+
47
+ pngBytes.length > 0; // true
48
+ ```
@@ -42,7 +42,7 @@ The blue element of the color.
42
42
 
43
43
  ## Properties
44
44
 
45
- ### CLASS\_NAME
45
+ ### CLASS\_NAME {#class_name}
46
46
 
47
47
  > `readonly` `static` **CLASS\_NAME**: `string`
48
48
 
@@ -50,7 +50,7 @@ Runtime name for the class.
50
50
 
51
51
  ## Methods
52
52
 
53
- ### fromHex()
53
+ ### fromHex() {#fromhex}
54
54
 
55
55
  > `static` **fromHex**(`hex`): `Color`
56
56
 
@@ -76,7 +76,7 @@ Error if the format is incorrect.
76
76
 
77
77
  ***
78
78
 
79
- ### coerce()
79
+ ### coerce() {#coerce}
80
80
 
81
81
  > `static` **coerce**(`value`): `Color` \| `undefined`
82
82
 
@@ -98,7 +98,7 @@ The color if one can be created.
98
98
 
99
99
  ***
100
100
 
101
- ### alpha()
101
+ ### alpha() {#alpha}
102
102
 
103
103
  > **alpha**(): `number`
104
104
 
@@ -112,7 +112,7 @@ The alpha element.
112
112
 
113
113
  ***
114
114
 
115
- ### red()
115
+ ### red() {#red}
116
116
 
117
117
  > **red**(): `number`
118
118
 
@@ -126,7 +126,7 @@ The red element.
126
126
 
127
127
  ***
128
128
 
129
- ### green()
129
+ ### green() {#green}
130
130
 
131
131
  > **green**(): `number`
132
132
 
@@ -140,7 +140,7 @@ The green element.
140
140
 
141
141
  ***
142
142
 
143
- ### blue()
143
+ ### blue() {#blue}
144
144
 
145
145
  > **blue**(): `number`
146
146
 
@@ -154,7 +154,7 @@ The blue element.
154
154
 
155
155
  ***
156
156
 
157
- ### argb()
157
+ ### argb() {#argb}
158
158
 
159
159
  > **argb**(): `number`
160
160
 
@@ -168,7 +168,7 @@ The color as argb.
168
168
 
169
169
  ***
170
170
 
171
- ### rgba()
171
+ ### rgba() {#rgba}
172
172
 
173
173
  > **rgba**(): `number`
174
174
 
@@ -182,7 +182,7 @@ The color as rgba.
182
182
 
183
183
  ***
184
184
 
185
- ### rgbText()
185
+ ### rgbText() {#rgbtext}
186
186
 
187
187
  > **rgbText**(): `string`
188
188
 
@@ -196,7 +196,7 @@ The color as rgb.
196
196
 
197
197
  ***
198
198
 
199
- ### rgbaText()
199
+ ### rgbaText() {#rgbatext}
200
200
 
201
201
  > **rgbaText**(): `string`
202
202
 
@@ -210,7 +210,7 @@ The color as rgba.
210
210
 
211
211
  ***
212
212
 
213
- ### hex()
213
+ ### hex() {#hex}
214
214
 
215
215
  > **hex**(): `string`
216
216
 
@@ -224,7 +224,7 @@ The color as hex with no alpha component.
224
224
 
225
225
  ***
226
226
 
227
- ### hexWithAlpha()
227
+ ### hexWithAlpha() {#hexwithalpha}
228
228
 
229
229
  > **hexWithAlpha**(): `string`
230
230
 
@@ -17,7 +17,7 @@ Create a new instance of JpegEncoder.
17
17
 
18
18
  ## Properties
19
19
 
20
- ### CLASS\_NAME
20
+ ### CLASS\_NAME {#class_name}
21
21
 
22
22
  > `readonly` `static` **CLASS\_NAME**: `string`
23
23
 
@@ -25,7 +25,7 @@ Runtime name for the class.
25
25
 
26
26
  ## Methods
27
27
 
28
- ### encode()
28
+ ### encode() {#encode}
29
29
 
30
30
  > **encode**(`width`, `height`, `imageData`, `quality`): `Uint8Array`
31
31
 
@@ -15,7 +15,7 @@ Based on https://github.com/photopea/UPNG.js.
15
15
 
16
16
  ## Methods
17
17
 
18
- ### encode()
18
+ ### encode() {#encode}
19
19
 
20
20
  > **encode**(`buffers`, `w`, `h`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/image",
3
- "version": "0.0.3-next.3",
3
+ "version": "0.0.3-next.30",
4
4
  "description": "Classes for image manipulation",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,8 +14,8 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "0.0.3-next.3",
18
- "@twin.org/nameof": "0.0.3-next.3"
17
+ "@twin.org/core": "0.0.3-next.30",
18
+ "@twin.org/nameof": "0.0.3-next.30"
19
19
  },
20
20
  "main": "./dist/es/index.js",
21
21
  "types": "./dist/types/index.d.ts",