psd-tools-1.9.9
1.9.9
1.9.8
1.9.7
1.9.6
1.9.5
1.9.4
1.9.34
1.9.33
1.9.32
1.9.31
1.9.30
1.9.3
1.9.29
1.9.28
1.9.27
1.9.26
1.9.24
1.9.23
1.9.22
1.9.21
1.9.20
1.9.2
1.9.19
1.9.18
1.9.17
1.9.16
1.9.15
1.9.14
1.9.13
1.9.12
1.9.11
1.9.10
1.9.1
1.9.0
1.8.9
1.8.8
1.8.38
1.8.37
1.8.36
1.8.35
1.8.34
1.8.33
1.8.32
1.8.31
1.8.30
1.8.29
1.8.28
1.8.27
1.8.26
1.8.25
1.8.24
1.8.23
1.8.22
1.8.21
1.8.20
1.8.19
1.8.18
1.8.17
1.8.16
1.8.15
1.8.14
1.8.13
1.8.12
1.8.11
1.8.10
1.4
1.3
1.2
1.12.1
1.12.0
1.11.1
1.11.0
1.10.9
1.10.8
1.10.7
1.10.6
1.10.5
1.10.4
1.10.3
1.10.2
1.10.13
1.10.12
1.10.11
1.10.10
1.10.1
1.10.0
1.1
1.0
1.9.9
1.9.8
1.9.7
1.9.6
1.9.5
1.9.4
1.9.34
1.9.33
1.9.32
1.9.31
1.9.30
1.9.3
1.9.29
1.9.28
1.9.27
1.9.26
1.9.24
1.9.23
1.9.22
1.9.21
1.9.20
1.9.2
1.9.19
1.9.18
1.9.17
1.9.16
1.9.15
1.9.14
1.9.13
1.9.12
1.9.11
1.9.10
1.9.1
1.9.0
1.8.9
1.8.8
1.8.38
1.8.37
1.8.36
1.8.35
1.8.34
1.8.33
1.8.32
1.8.31
1.8.30
1.8.29
1.8.28
1.8.27
1.8.26
1.8.25
1.8.24
1.8.23
1.8.22
1.8.21
1.8.20
1.8.19
1.8.18
1.8.17
1.8.16
1.8.15
1.8.14
1.8.13
1.8.12
1.8.11
1.8.10
1.4
1.3
1.2
1.10.9
1.10.8
1.10.7
1.10.6
1.10.5
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.1
1.0
0.9.1
0.9
0.8.4
0.8.3
0.8.2
0.8.1
0.8
0.7.1
0.7
0.6
0.5
0.2
0.10
0.1.4
0.1.3
0.1.2
0.1.1
توضیحات
Python package for working with Adobe Photoshop PSD files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | psd-tools-1.9.9 |
| نام | psd-tools |
| نسخه کتابخانه | 1.9.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Mikhail Korobov <kmike84@gmail.com>, Kota Yamaguchi <KotaYamaguchi1984@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/psd-tools/ |
| مجوز | - |
# psd-tools
`psd-tools` is a Python package for working with Adobe Photoshop PSD files
as described in [specification](https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/).
[](https://pypi.python.org/pypi/psd-tools)
[](https://github.com/psd-tools/psd-tools/actions/workflows/test.yml)
[](http://psd-tools.readthedocs.io/en/latest/)
## Features
### 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.
* Editing of texts in type layers
* Composition of adjustment layers
* Composition of many layer effects
* Font rendering
## Installation
Use `pip` to install the package:
```bash
pip install psd-tools
```
For advanced layer compositing features, install with the `composite` extra:
```bash
pip install 'psd-tools[composite]'
```
The composite extra provides optional dependencies (`aggdraw`, `scipy`, `scikit-image`)
for advanced rendering features:
* Vector shape and stroke rendering
* Gradient and pattern fills
* Layer effects rendering
Basic compositing works without these dependencies using cached previews or simple
pixel-based operations. Note that the composite extra may not be available on all
platforms (notably Python 3.14 on Windows).
## Getting started
```python
from psd_tools import PSDImage
psd = PSDImage.open('example.psd')
psd.composite().save('example.png')
for layer in psd:
print(layer)
layer_image = layer.composite()
layer_image.save('%s.png' % layer.name)
```
Check out the [documentation](https://psd-tools.readthedocs.io/) for features and details.
## Contributing
See [contributing](https://github.com/psd-tools/psd-tools/blob/master/docs/contributing.rst) page.
> **Note**
>
> PSD [specification](https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/) is far from complete. If you cannot find a desired
> information in the [documentation](https://psd-tools.readthedocs.io/), you should inspect the low-level
> data structure.
نیازمندی
| مقدار | نام |
|---|---|
| ython_versio | typing-extensions; |
| - | attrs>=23.0.0 |
| - | Pillow>=10.3.0 |
| - | numpy |
| ys_platfor | aggdraw>=1.3.16; |
| sys_platfor | aggdraw<1.4.1,>=1.3.16; |
| sys_platfor | aggdraw>=1.4.1; |
| xtr | scipy; |
| xtr | scikit-image; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl psd-tools-1.9.9:
pip install psd-tools-1.9.9.whl
نصب پکیج tar.gz psd-tools-1.9.9:
pip install psd-tools-1.9.9.tar.gz