Skip to main content

Python package for Photoshop Connection

Project description

Python package to remotely execute ExtendScript in Adobe Photoshop.

Build Documentation Status PyPI

Prerequisites

Photoshop must be configured to accept remote connection.

Open the plug-ins dialog from the Preferences > Plug-ins… menu in Photoshop, and check Enable Remote Connections option. Enter password to the given field, and click OK button and restart Photoshop.

Photoshop must be launched and running for the package to work.

Install

pip install photoshop-connection

Usage

Example:

from photoshop import PhotoshopConnection

with PhotoshopConnection(password='secret') as conn:
    conn.execute('alert("hello")')
    jpeg_binary = conn.get_document_thumbnail()

Check out documentation for details.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

photoshop_connection-0.2.0-py3-none-any.whl (21.1 kB view hashes)

Uploaded Python 3

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