Skip to main content

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.

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.5mmacOS 10.6+ x86-64

File details

Details for the file pytoshop-0.3.0.tar.gz.

File metadata

  • Download URL: pytoshop-0.3.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytoshop-0.3.0.tar.gz
Algorithm Hash digest
SHA256 bfe272e464d7a4288ab2e3fa685fd5bf25702ddcc78fe8bcdb5cc521f51318dd
MD5 7e4eb2e1cfbce3fb6caf219dae1d1c3f
BLAKE2b-256 d647add5657fc65a62c511f566109220ab683d242b5ef1660bec379fb8789eb2

See more details on using hashes here.

File details

Details for the file pytoshop-0.3.0-cp35-cp35m-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for pytoshop-0.3.0-cp35-cp35m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 7c033270ad795d8d16bf5c606885e68a89ffe36f7ce14e185ba80c70b9fd9e2d
MD5 2421976741747b5f59fe69849c77dd9c
BLAKE2b-256 d4a2d5131969dc5d2a846671cd1ed87fc7864045e18b1362ee325abc14631c53

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.1

1 file

1.2.0

1 file

1.1.0

1 file

1.0.1

1 file

1.0.0

1 file

0.6.0

1 file

0.4.1

1 file

0.4.0

1 file

This release

0.3.0 This release

2 files

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page