Skip to main content
Participant
February 18, 2012
Question

Resizing photos from a directory

  • February 18, 2012
  • 2 replies
  • 556 views

I have a directory with around 20,000 photos that all need to be resized. Most need to be resized to 800x600, while others need to be resized to 640x480. Obviously I could open several and just run an action - but with 20,000 that would take forever. Never really used any PS scripting before. Any thoughts?    

This topic has been closed for replies.

2 replies

c.pfaffenbichler
Community Expert
Community Expert
February 19, 2012

Most need to be resized to 800x600, while others need to be resized to 640x480

What is the characteristic based on which the distinction is made? Is it the name, size, … or something else that can be assessed automatically or will you have to sort the images manually?

JJMack
Community Expert
Community Expert
February 18, 2012

Scripting is more powerful then actions however I do not think one is any faster then the other. Its more a case of how many Photoshop steps are performed. In your resezing case it matters less for the action you use will most likely use Photoshop Plug-in "Fit Image" which since CS3 is a Photoshop Script.   All that is needed are two  single step action. that records a step menu File>Automate>Fit Image and in the fit image dialog you set 800 x 800 and the second one you set 640x640 your 4:3 aspect ratios images will be resized to 800x600|600x800 and 640x480|480x640.  These action would then be batched using menu file>automate>batch. 

JJMack