Metadata-Version: 2.4
Name: ffpsd
Version: 0.4.6
Summary: Read and write Photoshop PSD and PSB files
Keywords: psd,psb,photoshop,image,layers
License-Expression: MIT
License-File: LICENSE
License-File: vendor/libjpeg-turbo/LICENSE.md
License-File: vendor/libjpeg-turbo/README.ijg
License-File: vendor/libpng/LICENSE
License-File: vendor/libwebp/COPYING
License-File: vendor/libwebp/PATENTS
License-File: vendor/zlib-ng/LICENSE.md
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
Classifier: Topic :: Software Development :: Libraries
Classifier: Typing :: Typed
Project-URL: Repository, https://github.com/EnergyFlexus/ffpsd
Requires-Python: >=3.10
Requires-Dist: numpy>=1.22
Provides-Extra: pil
Requires-Dist: Pillow>=9.1; extra == "pil"
Description-Content-Type: text/markdown

# ffpsd

Python bindings to [ffpsd](https://github.com/EnergyFlexus/ffpsd), a library that reads and writes Photoshop PSD
and PSB files.

```python
import ffpsd

document = ffpsd.Document.open("in.psd")
for layer in document.layers:
    print(layer.name, layer.bounds)
document.duplicate_layer(-1).name = "Copy"
document.save("out.psd", ffpsd.Compression.RLE_OR_RAW)
```

With `pip install ffpsd[pil]`, `ffpsd.from_pil` and `ffpsd.to_pil` take and give Pillow images.

## License

MIT
