loongson/pypi/: psd-tools-1.9.32 metadata and description

Simple index Mirror page

Python package for working with Adobe Photoshop PSD files

author_email Mikhail Korobov <kmike84@gmail.com>, Kota Yamaguchi <KotaYamaguchi1984@gmail.com>
classifiers
  • Development Status :: 4 - Beta
  • Intended Audience :: Developers
  • License :: OSI Approved :: MIT License
  • Programming Language :: Python
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Topic :: Multimedia :: Graphics
  • Topic :: Multimedia :: Graphics :: Viewers
  • Topic :: Multimedia :: Graphics :: Graphics Conversion
  • Topic :: Software Development :: Libraries :: Python Modules
description_content_type text/x-rst
keywords photoshop,psd
license MIT License
provides_extras docs
requires_dist
  • docopt >=0.6.0
  • attrs >=23.0.0
  • Pillow >=10.0.0
  • aggdraw
  • numpy
  • scipy
  • scikit-image
  • pytest ; extra == 'dev'
  • pytest-cov ; extra == 'dev'
  • ipython ; extra == 'dev'
  • flake8 ; extra == 'dev'
  • black ; extra == 'dev'
  • isort ; extra == 'dev'
  • pysen ; extra == 'dev'
  • sphinx ; extra == 'docs'
  • sphinx-rtd-theme ; extra == 'docs'
File Tox results History
psd_tools-1.9.32-cp310-cp310-linux_loongarch64.whl
Size
721 KB
Type
Python Wheel
Python
3.10
psd_tools-1.9.32-cp311-cp311-linux_loongarch64.whl
Size
756 KB
Type
Python Wheel
Python
3.11
psd_tools-1.9.32-cp312-cp312-linux_loongarch64.whl
Size
746 KB
Type
Python Wheel
Python
3.12
psd_tools-1.9.32-cp38-cp38-linux_loongarch64.whl
Size
733 KB
Type
Python Wheel
Python
3.8
psd_tools-1.9.32-cp39-cp39-linux_loongarch64.whl
Size
725 KB
Type
Python Wheel
Python
3.9

psd-tools is a Python package for working with Adobe Photoshop PSD files as described in specification.

PyPI Version Build Document Status

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

  • Blending modes except for dissolve

  • Drawing of bezier curves

Not supported:

  • Editing of layer structure, such as adding or removing a layer

  • Composition of adjustment layers

  • Composition of many layer effects

  • Font rendering

Installation

Use pip to install the package:

pip install psd-tools

Getting started

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 for features and details.

Contributing

See contributing page.