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
src- the python package source to buildPSDtoSVG.frontend- contains a web application that runs the python code in browser using pyodide or can be built to send requests to convert PSD files to a backend.flask- basic flask app requiring thePSDtoSVGbuild and thefrontendbuild.