A tracer that draws the way a designer would
Rekha, रेखा, is the Sanskrit word for a line. It is an image tracer written from scratch in Go by Anil Mathew.
Why it exists
Converting a picture to a vector is an old problem with old answers. The classic tools trace black and white well and stop there. The colour tracers that followed copy pixels faithfully and hand back files with hundreds of shapes, where every soft shadow has been cut into stripes. The file is technically a vector, and nobody wants to edit it.
Rekha starts from a different question: what did the person who drew this actually draw? A circle, not a 40-sided polygon. One shape with a gradient, not twelve bands. An edge that passes through the middle of a grey pixel, not round its corner. Answering that gives smaller files that match the source more closely and open cleanly in an editor.
How it is built
It is a clean-room implementation in pure Go, with no cgo and one dependency. One codebase is the command-line tool, the library, the HTTP service and the WebAssembly build, so a trace is identical wherever it runs. Every figure on this site comes from tests and benchmarks that live in the repository, where anyone can run them again.
How it is paid for
The tracer is open source under the AGPL-3.0. Commercial licences and the hosted studio pay for its development, and what they pay for lands in the public repository. See the licence and pricing.
Get in touch
Bugs and ideas are welcome as issues on GitHub. For licensing or anything else, write to Anil on LinkedIn.
Trace an image now
Drop a PNG or JPEG into the studio and download the SVG. No account needed for images up to 4 megapixels.