Skip to content

Converts PSD files to SVG files. Also includes a python-native port of potrace.

License

Notifications You must be signed in to change notification settings

gdicristofaro/PSDtoSVG

Repository files navigation

Converts a Photoshop file (PSD) to an Scalable Vector Graphics (SVG) file. All Layers in PSD file except for bottom-most layer are traced using pypotrace. The paths determined by pypotrace are used to determine the SVG paths in the SVG.

Project includes potrace.py. This file is a port from Kilobyte's potrace library which in turn was ported from the potrace library created by Peter Selinger.

Feel free to try the demo on heroku

This can be run after installing dependencies (which can be found in requirements.txt):

pip install psd-tools
pip install pillow
pip install flask

and then running:

python psdtosvg.py

with default configuration of flask, this runs on localhost:5000.

About

Converts PSD files to SVG files. Also includes a python-native port of potrace.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published