PSD2Fabric is a Python tool designed to parse PSD files into the fabric.js format.
- Parse PSD files: Convert PSD files into fabric.js JSON format.
- Support for the following features:
- PSD structure
- Group
- Children relative position
- Font
- Size
- Text content
- Color
- Bold
- Alignment
- Effect
- Stroke
- Others to Image
To use PSD2Fabric, follow these steps:
- Installation:
pip install psd2fabric
- Usage:
psd2fabric input.psd output.json
Replace input.psd with the path to your PSD file and output.json with the desired output JSON file.
- Parse to JSON file and preview it on this online site: https://nihaojob.github.io/vue-fabric-editor/
- Alternatively, deploy locally using this forked repository: https://github.com/haibingtown/vue-fabric-editor
We welcome and appreciate your contributions! Please refer to the contribution guidelines for more details.