Skip to main content
Participant
Mar 15, 2016 1:38 PM UTC
Question

overlay two different images (batch)

is a simple way to batch process two folders of images so that say... Folder 1 Image 1 is overlaid on Folder 2 Image 1 to create a composite? I have a series of images I want to overlay on to each other but I am not sure if it's possible other than by opening each by hand which would take ages.

This topic is closed to new replies. Start a new post to keep the conversation going.

15 replies

Participant
Mar 15, 2016 6:43 PM UTC

Thank you. I have never done any scripting before, is there somewhere I can get more detailed information on the process and this particular script? Thank you so much.

Translate
Chuck Uebele
Community Expert
Community Expert
Mar 15, 2016 9:14 PM UTC

The other question would be: Do you want to stop at each image to do something, or just combining the photos, saving them, then going back later and do some editing? Stopping to do something is more complicated.

Translate
Participant
Mar 16, 2016 12:14 AM UTC

I don't think I need to stop at each images as I only want to blend the two images together. So Image 1 from Folder 1 is blended as layer on to Image 1 folder 2. I hope that makes sense.

Translate
Chuck Uebele
Community Expert
Community Expert
Mar 15, 2016 5:36 PM UTC

How do you want to composite them: two separate image in one image, or overlapping with some sort of blend mode or masking?

Translate
Participant
Mar 15, 2016 5:43 PM UTC

I want to overlay one image on top of the other and blend with multiply or similar.

Translate
Chuck Uebele
Community Expert
Community Expert
Mar 15, 2016 6:36 PM UTC

You can do that pretty easily with scripting. Just a matter of defining the two folder, and making sure they are in the order you want. You can then use scriptlistener to get the code for placing a file into another. Then you put all the files from the folder in a new array with the getFiles() statement. then you create a loop to go through that array and open one of the files from one folder, then place a file from the other folder. You can then change the blend mode of the layer to whatever you want, and save and close, or what ever you want to do with the file.

Translate
c.pfaffenbichler
Community Expert
Community Expert
Mar 15, 2016 1:46 PM UTC

You may want to ask over on the Scripting Forum, the task has come up repeatedly and can usually be automated but your description seems insufficient so far:

Photoshop Scripting

Translate