Skip to main content

A Python-based library to write Photoshop PSD files

Project description

pytoshop

https://img.shields.io/pypi/v/pytoshop.svg https://img.shields.io/travis/mdboom/pytoshop.svg Documentation Status Coverage status

A Python-based library to read and write Photoshop PSD and PSB files.

Based on the specification from Adobe, but also with the help of the psd-tools source code.

Features

  • Parsing of the most important tags. This is not complete, but the infrastructure is in place to add support for more quite easily.

  • Loading of complex nested layer structures, and the ability to edit them and write them back out.

History

0.3.0

Improvements:

  • pytoshop now runs on Python 2.7, in addition to 3.4 and 3.5.

  • Many of the image resources types are now handled directly, rather than through a generic bytes-only interface.

  • Major speedups in compression codecs.

Bugfixes:

  • Saving a layer with a constant color (in nested_layers_to_psd) now works correctly.

  • Unicode string decoding now properly handles trailing zeroes.

  • The “name source” on layers (when created from nested_layers_to_psd) would point to the wrong source, but is now fixed.

  • Fix a bug when writing a layer of width 1.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytoshop-0.3.0.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distribution

pytoshop-0.3.0-cp35-cp35m-macosx_10_6_x86_64.whl (192.2 kB view hashes)

Uploaded CPython 3.5m macOS 10.6+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page