Skip to main content
Participating Frequently
January 27, 2022
Question

Creating automation/droplet for batch resizing and putting on background

  • January 27, 2022
  • 1 reply
  • 2481 views

Hello, 

Could someone please help me with an automation? I routinely need to resize images to 1080x1080 on a blackbackground (with the long edge extended to 1080). I can't figure out how to automate this so that I can drop the images on a droplet, have them open, resize, and then save. Can anyone help? Doing it manually is so frustrating. 

This topic has been closed for replies.

1 reply

Stephen Marsh
Community Expert
Community Expert
January 27, 2022

First is the action, there are only 2 key steps for the resizing:

 

1) File > Automate > Fit Image commad 1080 x 1080 px

 

2) Image > Canvas Size command 1080 x 1080 px with black extension colour (presuming flattened file input)

 


You may also need to add a save as step if you require different settings or formats.

 

The Droplet settings will depend on your workflow, I am guessing that the action steps are the sticking point? More on Droplets/Batch here:

 

https://helpx.adobe.com/photoshop/using/processing-batch-files.html

 

When recording the action, start with a larger image than 1080 px.

 

Stop recording after recording the fit image step. 

 

Setup a canvas that is not 1080 x 1080 px.

 

Start recording again, then resize the canvas to 1080 x 1080 px, stop recording.

 

This is not a linear recording, you need to prime the action steps from different sized images, so that the recording and then playback works as required as a linear process on the final images.

 

Hope this makes sense.

 

If you are not working on flattened images, or a mixture of flattened and layered images then the process is different but similar.

Participating Frequently
January 31, 2022

Hello! Can you explain the "This is not a linear recording, you need to prime the action steps from different sized images, so that the recording and then playback works as required as a linear process on the final images."? I have images that are all different sizes and formats...

In the past when I've tried to automate and create the droplet, when I drop an images onto the droplet, it just reopens and resizes the file I used to create the action originally. I don't know where I'm doing it wrong to where the image that I'm dropping on the droplet is the one that is batched.

Stephen Marsh
Community Expert
Community Expert
January 31, 2022

@defaultfroo4mog86vg wrote:

Hello! Can you explain the "This is not a linear recording, you need to prime the action steps from different sized images, so that the recording and then playback works as required as a linear process on the final images."? I have images that are all different sizes and formats...


 

You need to create the action so that it will work as expected. Once you fit the image to 1080x1080, depending on the image used to record the action, it may not possible to extend the canvas on one or either edges.

 

Compare these two actions:

 

 

The one on the left should work correctly with all images that are larger than 1080px, whether square, portrait or landscape orientation aspect ratio. The action on the right has been incorrectly recorded as the image used was not appropriate.