- Notifications
You must be signed in to change notification settings - Fork196
Python package for reading Adobe Photoshop PSD files
License
NotificationsYou must be signed in to change notification settings
psd-tools/psd-tools
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
psd-tools
is a Python package for working with Adobe Photoshop PSD filesas described inspecification.
Supported:
- Read and write of the low-level PSD/PSB file structure
- Raw layer image export in NumPy and PIL format
Limited support:
- Composition of basic pixel-based layers
- Composition of fill layer effects
- Vector masks
- Editing of some layer attributes such as layer name
- Basic editing of pixel layers and groups, such as adding or removing a layer
- Blending modes except for dissolve
- Drawing of bezier curves
Not supported:
- Editing of various layers such as type layers, shape layers, smart objects, etc.
- Composition of adjustment layers
- Composition of many layer effects
- Font rendering
Usepip
to install the package:
pip install psd-tools
frompsd_toolsimportPSDImagepsd=PSDImage.open('example.psd')psd.composite().save('example.png')forlayerinpsd:print(layer)layer_image=layer.composite()layer_image.save('%s.png'%layer.name)
Check out thedocumentation for features and details.
Seecontributing page.
Note
PSDspecification is far from complete. If you cannot find a desiredinformation in thedocumentation, you should inspect the low-leveldata structure.
About
Python package for reading Adobe Photoshop PSD files
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published