I have a collection of a few hundred png images, each are different dimensions.

I want to be able to resize them all to the same dimensions, preferably keeping the aspect ratio intact.

Is it possible to write a script to automate this? Any pointers in the right direction or advice would be more than welcome as I am not sure where to start.

I have Photoshop and Illustrator.


  • 2
    Which platform and which version of Photoshop? You can definitely script this, but the platform and version are necessary to give you a reasonable answer. Sep 16, 2011 at 16:26
  • @Phil, I have Photoshop & Illustrator CS5 (the whole CS5 suite), running on Mac OS X. Let me know if you need any more info? Thanks.
    – MattStacey
    Sep 16, 2011 at 18:11
  • @Alan has a correct answer here. I am a Big Nerd so I would write my own Applescript to do this, but there you go. Sep 17, 2011 at 0:32

1 Answer 1


Use Dr. Brown's Image Processor. There's a version in Bridge and a more sophisticated version for CS5 here on his website. It allows you to specify a dimension for the output, and even run an action on each image as it's processed. The "Pro" version adds various capabilities you may not need for your purposes.

  • thanks for the suggestion Alan, after looking at the website, am I correct in thinking that the scripts can't output in the format of png?
    – MattStacey
    Sep 19, 2011 at 12:34
  • Image Processor Pro (the one in Dr. Brown's Services) definitely does PNG. It's the one at the top of the list on this page: russellbrown.com/tips_tech.html Sep 19, 2011 at 23:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.