SVGcode: a PWA to convert raster images to SVG vector graphics

Written by / Original link on Nov. 29, 2021


Thomas Steiner has released a tool named SVGcode. It’s a PWA to convert raster images to SVG vector graphics.

SVGcode is a Progressive Web App that lets you convert raster images like JPG, PNG, GIF, WebP, AVIF, etc. to vector graphics in SVG format. It uses the File System Access API, the Async Clipboard API, the File Handling API, and Window Controls Overlay customization.

Under the hood sits potrace — a tool for transforming bitmaps into vector graphics — which was translated to WebAssembly.

SVGcode →
SVGcode Source (GitHub) →

💡 If you want to dig deeper, you can find a writeup on Thomas’s blog and on

bram link sitepoint svg tool bram bram

« Responsive Layouts, Fewer Media Queries - Dock Life: Using Docker for All The Things! »