VTracer
$ vtracer Community Low RiskVTracer is a fast Rust raster-to-vector converter that traces PNG/JPG bitmaps into clean multi-layer SVGs. It accepts explicit --input, --output, --colormode (color/bw), --mode (spline/polygon/pixel), and --preset (bw/poster/photo) flags with zero interactive prompts.
pip install vtracer Local bitmap-to-SVG vectorization belongs directly in CLI pipelines with vtracer rather than uploading images over MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Clean flag-driven CLI (--input, --output, --preset, --colormode) with zero prompts, though it lacks --json metrics or stdout SVG piping.
- Fully flag-driven non-interactive execution
- Requires file paths for
--inputand--output; no JSON stats
100% offline local image processing reading --input and writing only to --output.
- Separate
--inputand--outputpaths protect source raster images
Available via cargo install vtracer, pip install vtracer (Python bindings), and GitHub release binaries.
- Distributed on crates.io, PyPI, and GitHub Releases
Much faster and handles full-color gradients better than traditional monochrome potrace pipelines.
- Full-color spline vectorization with
poster/photo/bwpresets
Open-source Rust tool (visioncortex/vtracer) dual-licensed under MIT / Apache-2.0.
- Open-source
visioncortex/vtracerrepository
Clear README and --help output covering --colormode, --mode, and threshold flags.
- Documented in GitHub README and crates.io
Security, Auth & Guardrails
None required; operates strictly on local image files.
100% free, offline, and MIT/Apache-2.0 open-source.
# VTracer Agent Rules - Always pass distinct `--input` and `--output` paths; verify whether the target `.svg` already exists before overwriting. - Pair generated SVGs with `scour` if minified output is needed.
Agent-Ready Command Recipes
Safe Read-Only Queries
vtracer --help
Displays supported curve fitting, color precision, and preset options without modifying files.
Controlled Writes & Previews
vtracer --input logo.png --output logo.svg --colormode color --mode spline
Traces logo.png into a smooth spline-based vector logo.svg without altering the source PNG.
Strengths for Agents
- + Fast Rust full-color bitmap-to-SVG conversion (
--colormode color) outperforming monochrome tracers. - + Clean preset options (
--preset bw|poster|photo) simplify tuning for agents. - + 100% offline with zero credentials.
Caveats & Pitfalls
- ! Note that
pip install vtracerinstalls Python bindings (vtracer.convert_file), whereas the standalone CLI binary comes fromcargo install vtraceror GitHub Releases. - ! No
--jsonsummary or stdout output mode.