Photoshop script to auto stack pair of images, then auto-align, and export.
I have shots comprised of jpg image sequences. I'm processing the shots. When I process them, position and scale for a portion of the image is offset. I'm trying to use a script to perspective auto align the processed image to match the original image.
So I believe I need a script to:
1. Load original image into layer 1.
2. Load processed image into layer 2.
3. Designate the original image on layer 1 as the reference, so that the processed image on layer 2 is perpective transformed to match the original image on layer 1.
4. Auto-align layer 2 to layer 1.
5. Export the aligned layers, with layer 2 on top, to an uncompressed file (not .psd).
6. Repeat script on each matched pair until all pairs in the folders are procesed.
I assume the folder structures should be:
"Folder 1" = original files (contains the first set of matched pairs identically named as their match in folder 2).
"Folder 2" = processed files (contains the other set of matched pairs identically named as their match in folder 1).
"Output Folder" = photoshop aligned exported file.
FYI - The processed image is only the portion of the frame that has been position and scale offset by the processing. So the result I'm looking for is exactly what photoshop does when you manually auto-align the two uploaded images. I don't want the processed image to be auto-aligned to full frame, just aligned against the portion of the original image that came from.
I have found a plugin called Image Processor Pro, that will auto process every image in a folder. I've also found a script that I think will stack images in adobe bridge, but it's 10 years old, for Windows 7.
I just can't think of the right combination of search terms for google. This has to be out there somwhere.
Totally willing to pay for your time for a solution. We can DM or Discord, or something.
Thanks!
