1 Reply Latest reply on Apr 5, 2016 7:55 PM by johnrellis

    Export a LrPhoto

    wima75

      Hi

      I made a plugin for publishing photos. In the plugin I loop through the photos and render them. And I loop through the virtual copies:

            local copies = photo:getRawMetadata("virtualCopies")

            for i, virtualCopy in pairs(copies) do

              local copyName = virtualCopy:getFormattedMetadata("copyName")

              if copyName == "myCopyName" then

                -- export it as jpg

              end

            end     

       

      Now I want to export the virtual copy as jpg. Is this possible?

      Thank you