/vpype-vectrace

vpype vector tracing plugin

Primary LanguagePythonMIT LicenseMIT

vpype-vectrace

Vpype plugin for vector tracing. See: https://github.com/abey79/vpype

vpype plugin. Reads image files and traces them for the vpype pipeline.

  • iread load an image for vector tracing

Vectrace

Pronounced "Vect-Race", Vectrace is a Pure Python Polygon Production Program. Basically the hooks for polygon tracing programs in python are really kinda annoying. And I didn't want to port code that isn't licensed in a maximally useful way, so I wrote my own.

This is especially useful because vpype does not need a bunch of preprocessing. The main goal of Vectrace is to create perfect vectors from images. The optimizations and modifications can be done elsewhere in the pipeline. Or not at all, I don't really mind/care.

Installing

pipx-based vpype install:

$ pipx inject vpype vpype-vectrace

Global or venv-based vpype install:

$ pip install vpype-vectrace

Supported Formats.

Vectrace supports all image formats that are supported by Pillow.

Example

vpype iread github.png write github.svg

  • Original.
    • github
  • Vector.
    • github-vector
  • Filled With Black.
    • github-vector-filled

vpype iread github.png linemerge efill -d 0.3 ewrite github.pes (Using vpype-embroidery https://github.com/EmbroidePy/vpype-embroidery )

  • github-embroidery