This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.


Converting .psd to .png by batch using a simple script

Ged Dimacali
on 10/10/16, 3:07 AM 253 views

Convert a folder of psd files to png.

1. Copy the script below then save to your local folder,  file named "convert2png.jsx"

var files = openDialog(); for(var key in files) { var inFile = files[key]; open(inFile); var pngOptions = new PNGSaveOptions(); pngOptions.interlaced = false; app.activeDocument.saveAs(inFile, pngOptions, true, Extension.LOWERCASE); app.activeDocument.close(); }

2. Open PS. Click on File > Scripts > Browse

3. Select the files you want to convert then click open. png files with the same name will be created and placed in the same directory as the source files.

You're welcome.

Add a Comment

Keep Informed

About This Community

Internal SOPs for tasks that are repeated on a regular basis. Read Guidelines

Question tools

2 follower(s)


Asked: 10/10/16, 3:07 AM
Seen: 253 times
Last updated: 10/10/16, 3:23 AM