mirror of
https://github.com/visioncortex/vtracer.git
synced 2026-09-26 14:01:18 -07:00
Add WebP decoding to the Node/wasm package
image-webp is pure Rust and compiles to wasm32; brings the npm package's input formats closer to the CLI/Python surface. Wasm grows ~115 KB (486 KB -> 601 KB). Also gitignore nodejs/.npmrc. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
ec715f8c3c
commit
6e9b147bbd
+2
-2
@@ -19,8 +19,8 @@ vtracer = { version = "1.0.0-alpha.1", path = "../crates/vtracer" }
|
||||
wasm-bindgen = "0.2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde-wasm-bindgen = "0.6"
|
||||
# Pure-Rust decoders that compile to wasm32-unknown-unknown.
|
||||
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "bmp"] }
|
||||
# Pure-Rust decoders that compile to wasm32-unknown-unknown (webp via image-webp).
|
||||
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "bmp", "webp"] }
|
||||
|
||||
[profile.release]
|
||||
opt-level = "s"
|
||||
|
||||
Reference in New Issue
Block a user