Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got 4500+ PNG 24 images in 20+ folders that I wish to reduce the size of by converting them to PNG 8. (Aside: I've tried smushing and other png optimisations but the savings are not enough, a test of 2 folders in PS showed PNG 8 should be without significant degradation of the images)

When I tried PS CS3 Batch it wouldn't save over the originals and the new files it creates have no folder structure. Is there a way to fix this or another tool for the job?

I'm running OSX but have access to Windows XP/7.

share|improve this question
What did you use to try and crunch the images? I answered a similar question oh Webmasters. I've had fantastic results with PNGs. Photoshop is absolutely awful with saving, especially if you don't use Save For Web/Devices.… – Bryson Apr 12 '11 at 17:44
Yeah I tried image ImageOptim first after seeing it mentioned on a q on stackoverflow. However I got the best overall reduction from PNGGauntlet which I used in VirtualBox Win7. XnView was also good. – Denis Hoctor Apr 13 '11 at 23:38
up vote 3 down vote accepted

XnView handles batch processing/conversion. Ctrl + U : "Tools -> Batch Processing..."

  • Options to overwrite, use original path (as output), and/or keep subfolder structure.
  • Add the "Convert > Convert to Colours" transformation from the Transformations tab. One of the parameters is bits/pixel.
share|improve this answer

That's a pain isn't it? Here's the trick. After recording your actions to make it png8, click the top right corner of the actions palette and choose insert menu item. Then just click file --> save. Click OK. It should now be the last sub-item within your action.

Now when you run the batch, stuff stays in its subfolder like it's supposed to.

share|improve this answer
Thanks, sounds good but my attempt to implement must be wrong! I've opened a test file, created a new action, Saved for Web (PNG8), Added Save Menu Item. When I run the batch I set source to my folder and click to include subfolders. I've then tried destination as 'None' and 'Save and Close' with 'Override Action...' ticked. But I still get the files on the root of the folder not in the sub folders. – Denis Hoctor Apr 11 '11 at 1:15
oop, sorry, the way I did it was recording my first action as image --> mode --> 8 bits/channel. To be honest I'm not sure if that's the exact same as the save-for-web PNG8. I think it is. Test it out. – CreeDorofl Apr 11 '11 at 2:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .