Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

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.

Thanks.

share|improve this question
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. –  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
add comment

1 Answer

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: russellbrown.com/tips_tech.html –  Alan Gilbertson Sep 19 '11 at 23:56
add comment

Your Answer

 
discard

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.