Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image to Vector (Raster -> SVG)

This is a small website that converts a raster image into an SVG using Potrace compiled to WebAssembly (esm-potrace-wasm).

Run locally

  1. Install dependencies:
    npm install
  2. Start the dev server:
    npm run dev
  3. Open the shown URL in your browser.

Build

npm run build

Notes

  • Conversion runs in your browser, so large images may be slower.
  • If results look messy, tweak:
    • turdsize (noise filter)
    • opttolerance (curve smoothing)
    • posterizelevel (how many colors/tones to keep)

About

A website which can convert any image into a vector (svg).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages