Skip to main content

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.
    • 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

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

vpype-vectrace-0.1.2.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

vpype_vectrace-0.1.2-py2.py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page