Built with 🦀 by The Vision Cortex Research Group
Introduction
visioncortex VTracer is an open source software to convert raster images (like jpg & png) into vector graphics (svg). It can vectorize graphics and photographs and trace the curves to output compact vector files.
Comparing to Potrace which only accept binarized inputs (Black & White pixmap), VTracer has an image processing pipeline which can handle colored high resolution scans.
Comparing to Adobe Illustrator's Image Trace, VTracer's output is much more compact (less shapes) as we adopt a stacking strategy and avoid producing shapes with holes.
VTracer is originally designed for processing high resolution scans of historic blueprints up to gigapixels. At the same time, VTracer can also handle low resolution pixel art, simulating image-rendering: pixelated
for retro game artworks.
A technical description of the algorithm is on visioncortex.org/vtracer-docs.
Cmd App
)
)
)
)
Install
You can download pre-built binaries from Releases.
You can also install the program from source from crates.io/vtracer:
Usage
Rust Library
You can install vtracer
as a Rust library.
Python Library
Since 0.6
, vtracer
is also packaged as Python native extensions, thanks to the awesome pyo3 project.