• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Batch process groups of files based on numbering

Explorer ,
Dec 18, 2019 Dec 18, 2019

Copy link to clipboard

Copied

Hello,

so here is the problem:

I have set of files:

OldImage0001.jpg, OldImage0002.jpg etc. going to OldImage0252.jpg lets say (252 files)

Then I have

Mask0001.jpg, Mask0002.jpg etc. going to Mask0252.jpg

And finally

NewImage0001.jpg, NewImage0002.jpg etc. going to NewImage0252.jpg lets say (252 files)

 

How do I do this:
Open OldImage0001.jpg put over NewImage0001.jpg and mask it with Mask0001.jpg - merge everything and produce FinishedImage0001.jpg.
Then let this to be done over all 252 image groups?


Thank you.

TOPICS
Actions and scripting

Views

2.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 23, 2019 Dec 23, 2019

Here is my take, it could be optimized and have error checking added, however it works as expected in my tests using three random sets of image sequence numbers.

 

 

 

 

/* Combine Old - New - Mask Images to JPEG.jsx

//community.adobe.com/t5/photoshop/batch-process-groups-of-files-based-on-numbering/td-p/10809093

NOTE: There is no error checking, the 3 input folders must all contain the same quantity of images! 

Input files are expected to have filenames such as: 
OldImage0001.jpg, OldImage00
...

Votes

Translate

Translate
Adobe
Community Expert ,
Nov 11, 2020 Nov 11, 2020

Copy link to clipboard

Copied

LATEST

Eleven months? I guess there wasn't any urgency, hah! Thank you for coming back, marking a correct answer and saying thanks, it is appreciated.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines