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.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01ffbff0f2bec668ede87f7f59f84f82eb3b2999652eaadaa335856cee7957c4 |
|
MD5 | 08f082bea4992cebca349fe6bc445d1f |
|
BLAKE2b-256 | 5a72cf9ead4e8bfbba50f63ff76e67d0b6d283f0801cddc33f48e296d0b3294d |