Skip to main content
September 13, 2012
Question

How to batch process .png's

  • September 13, 2012
  • 6 replies
  • 8477 views

I tried Image Processing but it wont save .png's. Anyone know how to do this?

This topic has been closed for replies.

6 replies

rodrigounda
Known Participant
November 24, 2022

I can't believe ten years after I have the same problem.
I'm using Photoshop 24.0.0
This is what my "image processor" box looks like:

 

Participant
April 11, 2016

hello.

I just ran into this problem recently.  I have CS5.  I tried the links for the Image Processor Pro and both links are dead.  Anyway other way to get this?

Chuck Uebele
Community Expert
Community Expert
April 11, 2016
Participant
September 7, 2014

You can use Save for Web option to save PNGs, or use the built-in batch script to batch slice & export PNGs. It's a very ordinary feature of Photoshop. If you are seeking for, however, a more professional PNG asset generator/software, have a look at Slicy: http://www.macrabbit.com/slicy/, it is a standalone Mac app, or you can take a look at PNG Hero: http://www.layerhero.com/pnghero/, PNG Hero is a Photoshop PNG plugin, that slice & export your PSD and then compress image automatically.

JJMack
Community Expert
Community Expert
March 8, 2013

You can also download the Image Processor Pro plug-in script from Russell Brown's web site for CS6 once installed you will find it under menu File>Automate>Image Processor Pro... It can sane many more file types the the standard Image Processor script.  Tou cal also save as many image files as you need saved for an image you not limited to and set number and you can save more the one of any file type supported. I see PNG I do not see PNG-24

JJMack
Inspiring
September 14, 2012

Here is a link to the CS4 version that I modified some time ago. http://ps-scripts.com/bb/viewtopic.php?f=10&t=3149

Rename the existing Image Processor script by adding a '~' in front of the name i.e. ~Image Processor.jsx. That way Photoshop will not load both scripts. Save my version into the scripts folder and restart photoshop. Image Processor will now have an option to save png files.

Or you could go to Russell Brown's web site and try his Image Processor Pro. It extends the basic Image Processor script with even more features.

September 14, 2012

Hm. I've having a bit of a problem using both. What I'm trying to do is reduce the filesize of a bunch of .png's I'm using in an iPhone app. So I wanted to batch re-process them to save them in Compressed .png format, rather than none. What settings should I use to get that (in other yours or Russell Brown's?)

Inspiring
September 14, 2012

I haven't been able to upgrade to CS6 so I am not sure what changes are needed to save compressed png files. But from looking at the CS6 JS Reference I would say find line 1940 of my version and add the following in a new line just below pngOptions.interlaced = interlace;

pngOptions.compression = 5;// or whatever setting you want to use

Of course if that works( I can't test ) it hardcodes the compression into the script. It would take a little work to add compression as an png option in the dialog.

Inspiring
September 13, 2012

What version of Photoshop are you using. The Image Processor script can be edited to save png files but I need to know which version you are using before I can tell you where to make the edits.

September 13, 2012

Sorry, I should have said, CS 6.