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
File details
Details for the file vpype-vectrace-0.1.2.tar.gz
.
File metadata
- Download URL: vpype-vectrace-0.1.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839250f1e24808f6b9549c5e1fb900d9278339244fb7b75f3c86c6e918b1a789 |
|
MD5 | f4df2d362f3b9df6e55edefb29caa098 |
|
BLAKE2b-256 | 8d001d9d526011b9cf57d3cdb82f7cb71ea17a64123df8d2e4cb37576f8e222a |
File details
Details for the file vpype_vectrace-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: vpype_vectrace-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01ffbff0f2bec668ede87f7f59f84f82eb3b2999652eaadaa335856cee7957c4 |
|
MD5 | 08f082bea4992cebca349fe6bc445d1f |
|
BLAKE2b-256 | 5a72cf9ead4e8bfbba50f63ff76e67d0b6d283f0801cddc33f48e296d0b3294d |