
Rustorizer
A Rust-based image vectorization tool that converts PNG, JPEG, and WebP bitmaps into clean, editable SVG files, available as a CLI, browser-based studio, and HTTP API.
Description
Scaling a bitmap past its native resolution means blurry edges and visible pixels. Designers often receive low-resolution logos or icons and have to manually retrace them in a vector editor. Rustorizer automates this conversion — and unlike simpler tracers that approximate curves with hundreds of anchor points, it outputs true geometric primitives: circles become actual <circle> elements, straight edges become clean path segments.
Under the hood it resolves anti-aliased pixels using a Markov random field (MRF) to remove edge artifacts, then fits contours to arcs, straight lines, and Bézier curves. For gradient regions it generates native SVG gradient definitions with blur masks to reproduce smooth color transitions, rather than breaking them into flat-colored patches. The resulting SVG is immediately editable in Figma, Illustrator, or any vector tool.
Four built-in presets cover common use cases: Clipart for flat icons, Gradient for images with color transitions, Photo for photographic content, and Line art for sketches and drawings. Beyond the command line, Rustorizer ships with a browser-based Studio where you can drag in an image, preview the result in real time, tweak parameters, and download the SVG. It also runs as a Docker container or standalone HTTP API for integration into automated pipelines.
The entire process runs locally with no AI model calls or cloud dependencies — deterministic output guaranteed. Accepts PNG, JPEG, WebP, BMP, and GIF input. MIT licensed.
