@takumi-rs/wasm 2.13.2 → 2.13.4
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/dist/export.d.cts +7 -2
- package/dist/export.d.mts +7 -2
- package/package.json +2 -2
- package/pkg/takumi_wasm_bg.wasm +0 -0
package/dist/export.d.cts
CHANGED
|
@@ -19,7 +19,12 @@ type Keyframes = KeyframesMap | KeyframesRuleList;
|
|
|
19
19
|
type OutputFormat = "png" | "jpeg" | "webp" | "ico" | "raw";
|
|
20
20
|
/** Output format for animated images. */
|
|
21
21
|
type AnimationOutputFormat = "webp" | "apng" | "gif";
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Gradient dithering algorithm.
|
|
24
|
+
*
|
|
25
|
+
* `"floyd-steinberg"` is a deprecated alias of `"ordered-bayer"`; it will be
|
|
26
|
+
* removed in v3.
|
|
27
|
+
*/
|
|
23
28
|
type DitheringAlgorithm = "none" | "ordered-bayer" | "floyd-steinberg";
|
|
24
29
|
/** Cache policy for a decoded image. Defaults to `"auto"`. */
|
|
25
30
|
type ImageCacheMode = "auto" | "none";
|
|
@@ -87,7 +92,7 @@ type RenderOptions$1 = {
|
|
|
87
92
|
*/
|
|
88
93
|
timeMs?: number;
|
|
89
94
|
/**
|
|
90
|
-
*
|
|
95
|
+
* Dithers gradient fills before they quantize to 8-bit.
|
|
91
96
|
* @default "none"
|
|
92
97
|
*/
|
|
93
98
|
dithering?: DitheringAlgorithm;
|
package/dist/export.d.mts
CHANGED
|
@@ -19,7 +19,12 @@ type Keyframes = KeyframesMap | KeyframesRuleList;
|
|
|
19
19
|
type OutputFormat = "png" | "jpeg" | "webp" | "ico" | "raw";
|
|
20
20
|
/** Output format for animated images. */
|
|
21
21
|
type AnimationOutputFormat = "webp" | "apng" | "gif";
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Gradient dithering algorithm.
|
|
24
|
+
*
|
|
25
|
+
* `"floyd-steinberg"` is a deprecated alias of `"ordered-bayer"`; it will be
|
|
26
|
+
* removed in v3.
|
|
27
|
+
*/
|
|
23
28
|
type DitheringAlgorithm = "none" | "ordered-bayer" | "floyd-steinberg";
|
|
24
29
|
/** Cache policy for a decoded image. Defaults to `"auto"`. */
|
|
25
30
|
type ImageCacheMode = "auto" | "none";
|
|
@@ -87,7 +92,7 @@ type RenderOptions$1 = {
|
|
|
87
92
|
*/
|
|
88
93
|
timeMs?: number;
|
|
89
94
|
/**
|
|
90
|
-
*
|
|
95
|
+
* Dithers gradient fills before they quantize to 8-bit.
|
|
91
96
|
* @default "none"
|
|
92
97
|
*/
|
|
93
98
|
dithering?: DitheringAlgorithm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takumi-rs/wasm",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.4",
|
|
4
4
|
"description": "Render OG images from Takumi node trees with WebAssembly. No headless browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare-workers",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"publish-lint": "attw --pack . && publint --strict ."
|
|
145
145
|
},
|
|
146
146
|
"dependencies": {
|
|
147
|
-
"@takumi-rs/helpers": "2.13.
|
|
147
|
+
"@takumi-rs/helpers": "2.13.4"
|
|
148
148
|
},
|
|
149
149
|
"devDependencies": {
|
|
150
150
|
"@types/bun": "^1.4.0",
|
package/pkg/takumi_wasm_bg.wasm
CHANGED
|
Binary file
|