covecto-0.1.2 is not a library.
Covecto
Dual-engine image vectorization — pixel-exact for icons, smooth curves for art.
Documentation · Getting Started · Changelog
Why Covecto?
Most vectorizers are one-trick — good at photos or good at icons, never both. Covecto ships two engines and auto-selects the right one:
| Engine | Best For | Algorithm |
|---|---|---|
| PixelExact | Icons, pixel art, screenshots | Contiguous region flood-fill → boundary tracing → rectilinear SVG |
| Spline | Photos, illustrations, artwork | Color quantization → contour tracing → Bézier spline fitting |
| Auto (default) | Everything | Heuristic selection based on image characteristics |
Install
# One-line install (Linux/macOS/Windows)
|
# Cargo
# Docker
Quick Start
# Auto-detect best engine
# Force pixel-exact (great for icons)
# Spline for photos with optimization
# Built-in profile (tunes multiple params at once)
# Batch: entire directory
# Recursive scan with glob
# Output formats: SVG (default), PDF, EPS
REST API
# Start the server
# Vectorize
# Optimize existing SVG
# Health check
Full API spec: openapi.yaml
Docker
# API server mode
# Vectorize a local file
Rust Library
use ;
let img = open.unwrap.to_rgba8;
let request = new
.with_config;
let result = vectorize.unwrap;
println!;
License
MIT