execute a HDR merge from lua script

New Here ,
Jun 05, 2022 Jun 05, 2022

Copy link to clipboard

Copied

Sorry, I am new to adobe lightroom., but I am trying to find any plugin to execute a bulk HDR merge in a specific way (my images are stored in folders in a specific way). Is there a way to invoke HDR merge from a plugin?

 

thanks!

TOPICS
SDK

Views

44

Likes

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
Adobe Community Professional ,
Jun 05, 2022 Jun 05, 2022

Copy link to clipboard

Copied

You do not need a Plugin. Lightroom-Classic can Batch Merge to HDR if you Stack the images as in this video-

https://www.youtube.com/watch?v=ncGCAdxphzQ

I do not know about your "images are stored in folders in a specific way" that might affect the method described.

Just how are they stored? Can you re-arrange them to suit the Merge to HDR function in LrC?

 

 

Regards. My System: Lr-Classic 11.3.1 Photoshop 23.3.2, ACR 14.3, Lightroom 5.3, Lr-iOS 7.0.2, Bridge 12.0.2, Windows-10.

Likes

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
New Here ,
Jun 05, 2022 Jun 05, 2022

Copy link to clipboard

Copied

Thanks Rob! We have a list of folders with two photos in each one. We would like to merge these two photos for all folders (selecting merging options. panorama, projection, fill borders.... ) and export this photo to another folder (or the same folder that contains merged photos). 

Regards!

Likes

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
LEGEND ,
Jun 05, 2022 Jun 05, 2022

Copy link to clipboard

Copied

LATEST

Unfortunately, LR doesn't provide plugins (including scripts) the ability to initiate merges. 

 

If this is a task that will be repeated many times, the best you could do is use Autohotkey on Windows or a similar keystroke-stuffing program on Mac to semi-automate the steps, but that will be very fragile.  Otherwise, consider the use of a scriptable program like Photoshop.

 

If this is a task that you'll just do once or a few times, here are some tips to accelerate the manual process. It could take you an hour or two to figure out how to apply the tips, so depending on how many photos you have, sometimes it's faster to just suck it up and do the job manually.

 

1. In each folder, stack the pairs of photos.  You could select all the folders in the Folders panel and then use Autohotkey to stack each adjacent pair of photos displayed in Library Grid view.

 

2. Select all the folders in the Folders panel, then select all the displayed photos in Grid view, and do Photo > Stacking > Collapse All Stacks.

 

3. Select all the stacks and do Photo > Photo Merge > HDR. That will invoke HDR merge with the last used settings on each set of stacked photos, putting the result in the same folder. The progress will be displayed in a progress bar in the upper-left corner.

 

4. If you can put all the folders under the same parent folder, then it will be easy to select those folders in the foldes panel.  Otherwise, if the folders have some distinguishing string in their names, e.g. "merge 1", "merge 2", etc. you can use the Filter Folders box at the top of the Folders panel to display just those folders (e.g. by filtering the folders for "merge").

 

Otherwise, rather than using a list of folders to start with, consider using a list of photo paths stored in a file. Then use a plugin such as Photo List Importer to select and filter just those photos in Grid View. Then use Autohotkey to stack them.

 

 

Likes

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