vpype polygon tracer plugin
Project description
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
$ 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.
- Vector.
- Filled With Black.
vpype iread github.png linemerge efill -d 0.3 ewrite github.pes
(Using vpype-embroidery https://github.com/EmbroidePy/vpype-embroidery )
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for vpype_vectrace-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ded41c9cf991cbf6228f9c0fa8fa37610eba8f8469b361150764f870e835a6e5 |
|
MD5 | 1e844abd1f3ce7039a7b8a1b91380de4 |
|
BLAKE2b-256 | bca597cb7ee4cfe0c9ed5b980ceb06c18a441856563f94efe38f397f5469ef13 |