Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

pixel2svg - Convert pixel art to SVG

Project Description

About

pixel2svg converts pixel art to SVG - pixel by pixel.

Prerequisites

Python 2.x http://www.python.org

Python Imaging Library (PIL) http://www.pythonware.com/products/pil/

svgwrite http://pypi.python.org/pypi/svgwrite/

Installation

Unzip the file, then at the command line run

python setup.py install

Usage

Usage: pixel2svg [--overlap] IMAGEFILE

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  --squaresize=SQUARESIZE
                        Width and heigt of vector squares in pixels, default: 40
  --overlap             If given, overlap vector squares by 1px

Running

pixel2svg.py IMAGE.EXT

will process IMAGE.EXT and create IMAGE.svg.

EXT can be any format (png, jpg etc.) that can be read by the Python Imaging Library.

License

pixel2svg is licensed under the GPL. See the file COPYING for details.

Author

  1. Florian Berger
Release History

Release History

This version
History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting