Skip to content
A program to export and compress JPG images from a PSD file.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Bump Jul 26, 2019 Update Dec 24, 2019 Fixed connection exception error Dec 24, 2019 Revert last change Jan 7, 2020 Except Attribute error on Image save out Jan 7, 2020
requirements.txt Update requirements Jul 23, 2019 Reformatted code with Black Jul 29, 2019

Image Exporter

A program to export and compress JPG images from a PSD file.


Requires Python 3.6+

Install the dependency packages (psd-tools, numpy, scipy), tqdm and requests

    cd image_export/
    pip install -r requirements.txt


The program relies on imageOptim to compress the images, an account key is required.

When initially running the program, a will be created and require an input for the account key

How To


After running python, input the values relating to the prompts

    File path: C:\\Folder\\
    PSD name: Example.psd
    Naming convention: Image

The images will output to an images/ directory.

For Emails keep the Naming convention blank, the images will automatically save out as Desktop_01, Desktop_02, Mobile_01 etc

The output will look similar to the below


The 850 and 1280 relate to the artboards width.

PSD requirements

  • The PSDs require an artboard.
  • A group called image is required and all layers should be nested with in it
You can’t perform that action at this time.