Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to batch process .png's

Guest
Sep 13, 2012 Sep 13, 2012

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

TOPICS
Actions and scripting
8.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guru ,
Sep 13, 2012 Sep 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 13, 2012 Sep 13, 2012

Sorry, I should have said, CS 6.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 13, 2012 Sep 13, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 13, 2012 Sep 13, 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?)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 13, 2012 Sep 13, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 13, 2012 Sep 13, 2012

That sounds great, Michael

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 08, 2013 Mar 08, 2013

Thanks for this!  This tool (along with pngOptions.compression) has saved me countless hours

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 08, 2013 Mar 08, 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

ipp.jpg

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 06, 2014 Sep 06, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 11, 2016 Apr 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 11, 2016 Apr 11, 2016
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 24, 2022 Nov 24, 2022
LATEST

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:

rodrigounda_0-1669309782985.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines