Skip to content

Since Lightroom does not offer an easy way to merge a large amount of HDRs, this tool based on AutoHotKey automates the necessary commands for you.

License

Notifications You must be signed in to change notification settings

rick0ff/Lightroom-HDR-Auto-Merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightroom HDR Auto Merge

Since Lightroom does not offer an easy way to merge a large amount of HDRs, this tool based on AutoHotKey automates the necessary commands for you.

How does it work?

This script runs with AutoHotkey, a software that allows to script manual commands to automate them. So basically this script commands your keyboard to selects every single photo of an HDR in Lightroom, e.g. 3 photos with EV -3, 0, +3. Then it simulates the Ctrl+Shift+H command that queues the HDR merge process in Lightroom. When the queue is filled you can wait for your computer to process the jobs lined up in the background while you do something else.

Requirements

  • Lightroom CC or Lightroom 6 (if your version allows queuing of HDRs it should work, let me know if that applies to older versions as well)
  • Windows (due to AutoHotKey only being available for Windows)
  • English as Lightroom language, though I'll be trying to support all languages in the near future

Organizing the pictures to merge in Lightroom

For the script to work properly you have to

  • tag all the images to be merged in the same batch with an otherwise unused color (press "6" (green), "7" (yellow), "8" (green) or "9" (blue) in Lightroom) LR sample library
  • create a smart collection that filters on that color LR sample collection Note: Per batch run the HDRs must have the same amount of single pictures. If you mix HDRs based on different amount of files (e.g. 3 and 5) the software won't be able to differentiate.

Two options to use the script

There are two ways to use this script: a. Easy: Run the script as an .exe (self-executable), if you're not willing to modify the script this is the easiest way. Download the latest file x.exe from the "exe" folder and run it. No need to install AutoHotkey. b. Advanced: Download and install AutoHotkey and download the script from the "script" folder. Import it to AutoHotkey and run it from there. This gives you the ability to modify the script to your needs.

Instructions for easy use

  1. Download the script from the "exe" folder
  2. Prepare Lightroom
    1. Create a smart collection for an unused color, e.g. red
    2. Select the first bundle of bracketed images and press Ctrl+H to tell Lightroom with what parameters the HDRs should be merged
  3. Load the downloaded .exe by double-clicking it
  4. Press Hotkey (Ctrl+Shift+Alt+J) to start the tool
  5. Set the parameters for the batch job and click OK
  6. Run
  7. Wait for the script to fill your queue. If you want to exit press "ESC". Then wait until the queue is fully processed.

Options of the script [defaults]

The script covers the following options to fit your individual HDR needs:

  • Bracket size: The amount of pictures per bracket (usually 3, 5 or 7) that results in one generated HDR [3]
  • Amount of HDRs: Define how often the merging of brackets should be repeated [10]
  • Wait time between HDRs: Time in seconds to pause before the next bracket is being queued. On a less powerful system it is recommended to increase the amount. If your rig is powerful you can try to lower this value. In the end it does not really matter, since your computer usually has way longer to generate an HDR than queueing the next one. [5]
  • Keypress for end action: For the script to work properly the queued pictures must be removed from the used smart collection, so the next bracket starts from the first image in the collection. This is achieved by pressing the same button as you color an image. [6]
  • Keep showing a progress bar: Lets you see the progress of the batch. [on] progress-bar
  • Keep checking for merging errors and skip them: If Lightroom can't merge an HDR the Lightroom error will be closed automatically so the rest of the batch can be processed. If disabled, the process will be stopped. [on] parameters

Further development

For now the script fits my needs. Let me know if you're having problems or futher ideas.

About

Since Lightroom does not offer an easy way to merge a large amount of HDRs, this tool based on AutoHotKey automates the necessary commands for you.

Resources

License

Stars

Watchers

Forks

Packages

No packages published