1 Reply Latest reply on Jan 6, 2010 2:07 AM by rsebbe

    Importing an image into LrCatalog with Lua

    rsebbe

      Hi,

       

      I am currently working on a Lightroom Export Plugin to create an HDR from a number of selected images in Lightroom.

       

      Here is how it is supposed to work:

      1. Lightroom: select images

      2. Choose Export, Hydra HDR Processing

      3. Hydra processes the files, creates a new image

      4. Lightroom re-imports the created image.

       

      The last step, reimporting, is not obvious to me. It looks like LrCatalog:addImage() can be invoked, but could someone please tell how this is meant to work?

       

      Thank you,

       

      Raphael Sebbe
      Creaceed — Creative iPhone & Mac apps
      ••• Twitter: http://twitter.com/rsebbe
      ••• Web: http://www.creaceed.com