https://github.com/tinify/photoshop-scripts
Photoshop Scripts for the TinyPNG & TinyJPG Photoshop plugin
https://github.com/tinify/photoshop-scripts
photoshop photoshop-script tinypng
Last synced: about 1 year ago
JSON representation
Photoshop Scripts for the TinyPNG & TinyJPG Photoshop plugin
- Host: GitHub
- URL: https://github.com/tinify/photoshop-scripts
- Owner: tinify
- License: mit
- Created: 2018-09-14T14:32:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T13:27:24.000Z (over 3 years ago)
- Last Synced: 2024-03-25T20:56:48.842Z (about 2 years ago)
- Topics: photoshop, photoshop-script, tinypng
- Language: JavaScript
- Size: 25.4 KB
- Stars: 50
- Watchers: 9
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://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/
- ~/Library/Application Support/Adobe/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](http://voormedia.com/blog/2014/06/compressing-png-images-in-photoshop-with-javascript-and-tinypng)
with JavaScript.
## License
This software is licensed under the MIT License. [View the license](LICENSE).