Here’s my steps to batch resize images of various sizes to fit into fixed dimensions on Photoshop.
For this example, let’s say my objective is to resize 1000 images of different dimensions and force fit into a portrait image?with a white background measuring at 500 x 638 pixels, with the images optimised for web.
The solution is to automate this process, here’s how in 18 clear steps:
1. Create two folders, one to hold your?1000 images of various sizes and another one to contain your resized images. I named mine as “Cats” and the resized image folder as “Cats 500×638”.
2. Open one image from your batch of photos. Mine’s a?landscape photo measuring at 1920 x 1200.
3. Open the Actions Panel under Window > Actions
4. At the Actions Panel, click on Create New Set
5. Name your set, I named mine as “Resize Images”
6. Click on Create New Action
7. Name your action, so that you can identify it later when you set it up for Batch automation. I named mine as “500×638”
8. Click on Begin Recording, the red record button will be on, any processes done on Photoshop
will now be recorded.
9. Go to File > Automate > Fit Image…
10. Enter 1 pixel smaller than your desired size for the width and height. For my case I need my
resulting file to be 500 x 638, so I will set it as 499 x 637.
The reason why I didn’t just set it to 500 x 638 right away is that in step 12, the automation recording cannot register a change in keystrokes, if I were to already change to 500 or 638 pixels during this step.
11. Make sure your background colour is set to your desired colour, for me it’s white as all my photos are against a white backdrop.
12. At this step, your image should already be resized. Now I need to force fit it to my desired dimensions.
Go to Image > Canvas Size…
13. Over here I set them?to 500 x 638 pixels.
14. Here’s the resulting resized image. I still need to optimise the image for web.
15. To save for web, press (Windows) CTRL + ALT + SHFT + s or (Mac) CMD + ALT + SHFT + s, to bring
up the window. Select your desired file format and save it at your resized folder. Press ok and then close your file without saving.
16. Now that the whole image resizing is done, go to the Actions Panel and click Stop.
17. Go to File > Automate > Batch… to configure your automation.
18. Under Play, select?the?Action that you’ve just created?and select the Source and Destination folders as you’ve created back in Step 1. The automation will start after you clicked on Ok. Now sit back and sip tea.
I hope I’ve made?a crazy task of converting 1000 images of various dimensions to fit into fixed file dimensions easier now.