Photoshop Scripts for the TinyPNG & TinyJPG Photoshop plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Adobe Photoshop/Presets/Scripts Add readme and update folder structure. Sep 14, 2018
LICENSE Initial commit Sep 14, 2018
README.md Add link to blogpost about Photoshop scripting. Sep 14, 2018

README.md

Photoshop Scripts for TinyPNG and TinyJPEG

These JavaScripts that can be added to Photoshop to help with compressing JPEG and PNG Images using the TinyPNG & TinyJPG Photoshop plugin.

For more information about the Photoshop plugin you can visit tinypng.com/photoshop.

Installation

The scripts may be copied to the 'Presets/Scripts' folder in Adobe Photoshop.

This is usually found in the following locations:

Mac: /Applications/Adobe Photoshop (version)/Presets/Scripts/
Windows: C:\Program Files\Adobe\Adobe Photoshop (version)\Presets\Scripts\

Usage

New menu options will appear in the 'File' menu. The scripts will be executed by simply selecting them.

File >
  Automate >
    Compress File...
    Compress Folder with JPEG Images...
    Compress Folder with PNG Images...
  Scripts >
    Layer Comps to Tinify...

Create your own

The scripts are written in JavaScript. You can easily create your own based on these examples. Photoshop also comes with many build-in scripts which you can look at to give more ideas of what is possible. If you are interested in scripting in more detail you can also take a look at the blog article which shows an example of how to compress all images in a folder with JavaScript.

License

This software is licensed under the MIT License. View the license.