Join Julieanne Kost to discover how to use the Batch command in Photoshop and Bridge to apply actions to large volumes of files.
- [Narrator] Photoshop's batch command is the key that automating the application of an action to multiple images. So, I've included an oil paint action in the exercise files. If you double click on the zip file, you'll unzip it. And then double click on the oilpaint.atn that will load the oil paint action into the action's panel. This action will flatten the image, just in case we have a multi layered document. It's going to convert the mode to eightbit.
Because, it runs some filters that require eightbit. It allows us to crop the image to a square, runs the oil paint filter, runs camera raw as a filter, so that I can add a little edge effect, a little bit of green. It sets the background to a layer, so that I can add canvas size and then it repositions the resulting file within that canvas. So, if we just play this action on this image, you'll notice that it stops out the crop. So, that we can readjust the crop, and I am just going to readjust it, move it over a little, drag that out and make it a little bit larger.
Tap return or enter and we can see, if we just zoom out a bit, that is the result of the action. Then, in order to run the batch process on this, I want to include two additional steps in this action. I want to record a save as and a close command, so that I can use that in the action. So, I am going to select the last recorded state in the action and then click on the record button. I'll choose file and then save as, and I am going to save this to my desktop as a specific file format.
And, it's really important to know that the save command does these two things independently. So, it saves as a file format to a specific location. Because, when we go to batch process our images, we are going to use the command to save as a specific file format. But, then we're going to override where we save these images. So, for now I am just saving it to the desktop as I record the action as a jpeg. I'll click save, ten should be fine for the quality for the jpeg options and then I'll close this image choosing file and then close.
And I don't want to save any changes to the original document. Then, I'll stop recording. Now, let's go to bridge, I am going to select another image in that folder. I'll go to full screen mode, make it a little larger. And then, play the oil paint action. And this time it's going to play the action, create the file, it'll stop it, so that I can reposition the crop, make it a little bit larger.
And then, it's going to create the whole rest of the image, save it and close it. So, we go to bridge, click on the desktop. We can see the resulting file right here. Now, let's return to the batch command folder and while I certainly could go to Photoshop and choose file, and then automate and batch. I prefer to start my batch processing from bridge. And that's because in bridge, before I choose the batch command, I can select the images that I want to run the batch on.
When I am in Photoshop, I have to select an entire folder, or open document. Now, I can choose the two files, select tools, Photoshop and then batch. You can see the set and the action are automatically selected, because they were highlighted in the actions panel. For my source, I'll choose bridge, because I've already selected those two documents. I don't have any open commands recorded in my action, so, I can leave that alone, and I don't have any sub folders, that might be useful if I actually selected a folder here, instead of the two files from bridge.
I do want to suppress any file open options dialogue. So, if my source files were raw files, and I didn't want to see the camera dialogue box, to make changes to them, that's when you suppress the file open options dialogues. I'll also suppress any color profile warnings, just in case there is a color profile mismatch. I can choose to either stop for errors, or log errors to a file, in which case it'd ask me where I want to save the log file. I'll just choose to stop for errors, and then the destination is very important.
I want to select folder here, and then I am going to choose a folder. I'll navigate to the desktop, and I already have a folder called processed images. I'll choose that folder, and then I absolutely need to override the action save as command. And what this is telling me is that Photoshop is going to override the part of the save as, that saves into a specific location. It's not going to override the fact that I am saving it as a jpeg.
So, I'll click don't show again, click okay. And, if I wanted to I could rename these files, so I could append them with like lorez or painting. But, because I am taking the files from one folder, processing them through the batch, and saving them to the different folder. I know I won't accidentally save over the originals, so I am not going change their name. I'll click okay. Photoshop will start running the batch, it'll stop at the crop, so that I can readjust the crop marquee as needed.
Tap enter or return to apply that crop and then it'll move onto the next image. So, the batch processing is going to go through all the images that I had selected. And it'll play the action on each one. Now, if I return to bridge, we go to the processed image folder, we can see here are the two images, that were batch processed. So, although we just ran the batch process on two images, you can image how useful this would be if you had 500 images that you had to process.
- Quickly saving images as different file types
- Creating single and multi-step actions
- Saving and loading actions
- Inserting stops, menu items, and conditionals
- Tips for working with layers
- Using the Batch command
- Creating droplets
- Automatically creating graphics from layers using generators
- Working with variables and scripts