How To Use Photoshop Actions For Batch Processing

Photoshop Actions are powerful at helping you speed up processing your photos in Photoshop. However, with the power of batch processing in your Photoshop actions can become even more effective in helping you to make the most of your time.

Even though Photoshop actions can help you a great deal in saving time and click when editing a single image, you will still have plenty of work ahead of you, if you need to process hundreds or thousands of photos.

However, Photoshop has a special feature to help you with this specific problem. It is called batch processing. With batch processing, you can tell Photoshop to apply a particular action to a whole batch of photos in one go.

In this quick tutorial, we will show you how to create an action in Photoshop and then make Photoshop apply it to a batch of photos. We will also show you how to make Photoshop apply multiple actions to each of the images you want to process as a batch.

Download a FREE e-book: 25 Techniques All Photographers Should Master

Create The Photoshop Action To Use for Batch Processing

Before we can set up Photoshop to batch process an entire folder of images, we need to create the Photoshop Action first. If you have purchased professional Photoshop actions, you will likely be able to use these for batch processing.

Note that to keep track of your Photoshop actions better, you should put the action inside a specific Action Set. It makes it easier to both find it and export it if you ever need to use it on other computers. So if you don’t have an Action Set to store your custom Photoshop actions, you should create an Action Set first.

New Photoshop Action Set

To create an Action Set, click on the Folder button at the bottom of the Actions Panel.

Create a Resize Photoshop Action

In our case, we will create a simple action that resizes your photo. However, you can, of course, also create more complex Photoshop actions that give your images a specific look or process them in a particular way.

To create the Photoshop action, begin by opening one of the files that you want to work with. Open the Actions Panel in the right sidebar.

create new action button

Click on the Create New Action button. Give the action a distinct name, so you can easily find it again. In our example, we will use the name “Simple Resize.”

Create new Photoshop Action

With the new action selected, click on the Record button in the Actions panel. Now that the action is recording, we can begin to do the steps we want the Photoshop action to perform each time we run it. In our case, we want it to resize the image to a specific size.

A simple action for resizing images to 1200px in width

Navigate to Image > Image Size, and select the dimensions you want the resized image to have. In this example, we will use a width of 1200px. Keep the link between the width and height enabled to constrain the aspect ratio. This will make Photoshop adjust the height accordingly, so the image keeps its original proportions, but with a width of 1200px.

Click on the Stop button at the bottom of the Actions panel to stop recording your steps in Photoshop.

If you want to process the image more with this Photoshop action, you can continue to record your edits. However, the more things you add within a single Photoshop action, the fewer images you will be able to use it on. Let us say that that the images you are currently creating this action for should also have a border. If you include the border in this action, then when you want to use a Photoshop action for creating a border, but without resizing, you cannot use this action anyway. So the reasonable thing to do it to record two separate actions.

Right now, we have an action that resizes the image to the chosen size. However, if we run this action as in a batch process, it will open and resize the images, and close them again without saving them.

So we need to tell Photoshop to record a step for saving the image.

Most tutorials about Photoshop actions would tell you to record the action as a final step of the action we just recorded above. However, I suggest that we do it a bit different. Once again, I like to be able to reuse what I do as much as possible. I don’t know if I always want this resize action to save the image as a .jpg-file. The next time, I might want to save the image as a .png-file or a .tiff-file.

I know it is a bit more complex to separate things into separate actions, but if you use Photoshop actions extensively, you will be happy later on for using this method. If you want to include the next steps in the previous resizing action, feel free to do so. In that case, you should just continue to record the steps using the “Simple Resize” Photoshop action.

Create a “Save As” Photoshop Action

Let us create the action to define the saving settings.

Click on the Create New Action button in the Actions Panel, and name the action something meaningful. In our case, we will name it: “Save as JPG – High Quality.”

Next, click on the Record button to start recording the steps.

Go to File > Save As…

In the Save As dialog, change the file type to JPEG. It doesn’t matter, which location or which name you give your file, as the batch process will override this anyway. Click on the Save button to proceed.

For the JPEG options in the next dialog, set the Image Quality to 12, and click OK.

Now click on Stop in the Actions Panel, to stop recording the action.

If you usually save your output in other formats, you can create Photoshop actions for these as well.

Combining Multiple Photoshop Actions To Use Them For Batch Processing

Those of you who have already tried to batch process images in Photoshop will now that it is only possible to run one action when you set up batch processing. However, there are many cases where you might want to run several actions for each image included in the batch process.

You might want to run different Photoshop actions provided by different PS action manufacturers and apply them to each image. It could also be, as in our case, that you want to keep your actions as flexible as possible and therefore separate them into several smaller actions that you combine from time to time.

Let us take a look at how to combine several actions into one that can be used for batch processing.

Begin by pressing the Create New Action button. We can name it, “Resize Add Border Output As JPG.” 

Next, press the Record button to begin.

Now you should include each of the actions you want to combine into a single action, by first selecting the action and then press the Play button in the Actions Panel. You will record a step that plays another Photoshop Action. You should do this for each action you want to include. In our case, we will combine three Photoshop actions into one:

  • Simple Resize action
  • Border Photoshop action (from our Photoshop Actions for Photographers Package)
  • Save as JPG – High-Quality action

When you have selected each action and pressed the play button right after selecting each of them, then you have created a Photoshop action that will run these other actions, which is very useful for batch processing in Photoshop.

Note that all the above, with creating Photoshop actions, can be seen as a preparation for the actual batch processing. Even though it is a thorough explanation, it will likely only take a minute or two to set up and test, once you have tried it a couple of times. This, of course, also depends on how complex a Photoshop action, you plan to run.

Setting Up The Batch Process To Run The Photoshop Action

Let us continue with setting up the batch process, which is quite easy.

In general, we need two folders for running batch processes in Photoshop. One folder with the original photos you want to process as a batch using the actions created above. The other folder is where Photoshop will save the files as the batch job processes them.

In Photoshop go to File > Automate > Batch.

In the Batch dialog, you will see a section called Play. This is where you select which Photoshop action should run or play for each image in the batch job. First, you must select the right Action Set, and then the actual action. Note that you can only select a single action, which is why I showed you how to make one Photoshop actions run several other actions above.

In the Source section, you should select the folder, which contains your original photos. Alternatively, you can also tell Photoshop to use all opened photos, selected photos from Adobe Bridge, or images imported directly from a connected camera.

source folder content for batch job in Photoshop
These are the images our batch job in Photoshop will resize, add a simple border to, and finally save them as a .jpg-file.

Per default, Photoshop will Stop for Errors the batch process, if it runs into an error. However, if you have a huge number of files, you can tell Photoshop to instead log any errors in a log-file, which you can check later and find the issues with any photos, which might fail during the batch process.

In the Destination section, you should point to an empty folder, where you want the batch-processed photos to end up. Avoid using the same folder as the source folder, because you might end up overwriting your original photos if you don’t alter the output naming. 

You can also tell Photoshop not to save the batch-processed photos, but instead, let the action control how to save the image (like we are doing above). In this way, you suppress all the Save As dialog windows, so you avoid choosing the destination for each photo. This is very useful for a completely automated batch-process.

The way to do that is to check the “Override Action ‘Save As’ Commands. A message will let you know that if you don’t include a Save As step, your image will not be saved. Photoshop will only open the image, run the Photoshop Action, and then close the image again without saving it.

In the Photoshop Batch dialog, you can also create your own naming template or formula where you combine the document (image) name, with serial number or counter, and date or custom fields. You can use any combination you wish, as you can see below:

Batch processing dialog in Photoshop - Select which action to use

When you press OK, to start the batch process, Photoshop starts to open each photo in the source folder, apply the chosen action to it, and saves the photo to the destination folder, using the file naming options you specified.

You can watch and enjoy the process, or you can minimize the Photoshop application window if you have a huge amount of photos that Photoshop has to process in this batch.

When the batch job in Photoshop finishes, you can find all the processed photos in the destination folder.

Batch processed photos using Photoshop actions
The destination folder with the resized images, including a border. Look at the custom naming we told Photoshop to give them in the batch processing dialog.

Concluding words

Photoshop has a lot of features for optimizing your workflow, including scripts, Photoshop actions that you can either use for an individual image, or as part of a Photoshop batch process as you have seen in this article.

Featured photo by Swapnil Deshpandey from Pexels.

  • Latest Posts
Author Details
Hey I’m Peter. I’m the owner and editor of Photography-RAW. I make sure that you get the best articles about photography. Personally, I prefer to shoot landscape, nature and macro photography. I hope you enjoy the site 🙂
×
Hey I’m Peter. I’m the owner and editor of Photography-RAW. I make sure that you get the best articles about photography. Personally, I prefer to shoot landscape, nature and macro photography. I hope you enjoy the site 🙂
Latest Posts
How To Use Photoshop Actions For Batch Processing

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.