Raster-to-vector graphics converter
Top 11.0% on sourcepulse
VTracer is an open-source raster-to-vector graphics converter designed to transform raster images (JPG, PNG) into scalable SVG files. It handles both graphics and photographs, offering a more compact output than tools like Adobe Illustrator's Image Trace by employing a stacking strategy and avoiding shapes with holes. VTracer is particularly suited for high-resolution scans of blueprints and can also process low-resolution pixel art.
How It Works
VTracer utilizes a Rust-based image processing pipeline that can handle colored, high-resolution scans, unlike Potrace which requires binarized input. Its core advantage lies in its O(n) complexity tracing algorithm, compared to Potrace's O(n^2) fitting algorithm. It offers various curve fitting modes (pixel
, polygon
, spline
) and parameters for color precision, corner detection, speckle filtering, and gradient steps, allowing for fine-tuned vectorization.
Quick Start & Requirements
cargo install vtracer
or pip install vtracer
./vtracer --input input.jpg --output output.svg
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
10 months ago
Inactive