Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. 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 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.


share|improve this question
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. – Philip Regan Sep 16 '11 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 '11 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. – Philip Regan Sep 17 '11 at 0:32
up vote 1 down vote accepted

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.

share|improve this answer
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 '11 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: – Alan Gilbertson Sep 19 '11 at 23:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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