A browser-based tool that converts raster images to SVG vector graphics. All processing happens locally in your browser using WebAssembly—no images are uploaded to any server.
- Supported formats: PNG, JPEG, GIF, WebP
- Presets: Default, Black & White, Poster, Photo
- Advanced controls: Color mode, speckle filtering, color precision, corner threshold, segment length, splice threshold
- Instant preview: See the vectorized result immediately
- Download: Export your SVG with one click
./scripts/serve.shThen open http://localhost:8080 in your browser.
The script will:
- Install
wasm-packif not present - Build the Rust code to WebAssembly
- Start a local server on port 8080
Prerequisites: Rust toolchain
Build manually:
wasm-pack build --target webProject structure:
src/lib.rs- Rust/WASM vectorization logic using vtracerindex.html- Frontend UI and JavaScriptpkg/- Generated WASM build output
The application uses vtracer to convert raster images to vector paths. The Rust code is compiled to WebAssembly via wasm-pack, allowing the vectorization algorithm to run at near-native speed directly in the browser.