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.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dd8da6fa6c9ef6d39dbcafb684a0d8c22b337478c2e1d05630814354c815ee8 |
|
MD5 | bc64c19dcce7104e61d84f959565b259 |
|
BLAKE2b-256 | 14eed5da158e0fa4d0e7ea1983b32f6a6201fe90ddce421f0330c7a6c64944ef |