Lightroom: Export to TIFF of a virtual copy and its orginal file fails when doing 'edit in ...'

  • 3
  • Problem
  • Updated 7 years ago
  • (Edited)
When editing a file and a virtual copy of that same file in another application (eg photomatix) the export to TIFF fails to generate 2 TIFF files because LR wants to use the same filename for both TIFFs. LR first generates the TIFF of the actual file and then overwrites the TIFF with the virtual copy.
Proper behaviour would be that LR detects the filename is already used and generates a unique name.
Photo of JohanK

JohanK

  • 6 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 3
Photo of Rikk Flohr

Rikk Flohr, Champion

  • 1373 Posts
  • 334 Reply Likes
I believe the file naming for Photomatix is set in the plugin-not the LR dialog. I have contacted Photomatix about this and reported it as a bug but no word if it has been fixed yet or not. They are testing the 4.1 beta right now.
Photo of Beat Gossweiler

Beat Gossweiler

  • 238 Posts
  • 38 Reply Likes
I experience the following when editing an original and a VC in ONE command in an external application, while the filename template for the external editors specifies {filename} only (LR 3.4.1, Win 7 and XP):


  • Create a Virtual Copy of a Raw original

  • Select the original and the VC

  • Choose "Edit in PSE" for the two images

  • Select 8Bit TIFF to be used as the file format



Result:
Edit in PSE hangs after having created a TIFF file for the VC, no TIFF file for the orignal is ever created (status bar indicates 50%).

Workaround:
Use {Copy name} as part of the filename template for external edits.

If I use the same two images (the original and the VC) in external edits one after the other (only having one image selected for each edit), LR creates a TIFF filename with a "-2" suffix added to the filename for the VC.

Beat
Photo of Geoff Walker

Geoff Walker, Champion

  • 214 Posts
  • 43 Reply Likes
I tested with a DNG and VC into PSCS.1 with the file naming in set to default (custom) and they both opened as xxxxx.dng and xxxxx-2.dng, same result with jpegs and vc's.
Photo of Beat Gossweiler

Beat Gossweiler

  • 238 Posts
  • 38 Reply Likes
What is the filenaming specified in the template?
Photo of Geoff Walker

Geoff Walker, Champion

  • 214 Posts
  • 43 Reply Likes
Custom which is just the default I believe which is: Filename-edit
But saving back yes the VC showed up in the filmstrip (I inverted it to make it visible) but it was then over written by the original (as a TIFF) so only one file was in the end returned to LR!!!
Photo of Geoff Walker

Geoff Walker, Champion

  • 214 Posts
  • 43 Reply Likes
Further investigation shows that it depends which file is closed in PS first as to which ends up in Lightroom. The first closed in PS does get over written it seems by the second.........
Photo of Geoff Walker

Geoff Walker, Champion

  • 214 Posts
  • 43 Reply Likes
And again, if a file and a VC of it are opened into PS, they open as xxx.dng and xxx-2.dng and when closed with save only one ends up back in LR, the other evaporates. The file naming template makes no difference as far as I can see. Have tested three templates and all the same result!!
Photo of Geoff Walker

Geoff Walker, Champion

  • 214 Posts
  • 43 Reply Likes
Funny I found two tiffs that I though had not been saved actually had and were back in LR. They had been saved (just using close window in PS) to the next level up folder !! Strange - more investigating later!!
Photo of JohanK

JohanK

  • 6 Posts
  • 0 Reply Likes
@Beat: That's indeed exactly what I had, but then for photomatix. Changing the 'Externally File Naming' template in the 'External Editing' tab in the preferences so the filenames will be unique (by adding a sequence) solve the issue. Thanks for the tip :)
Photo of Beat Gossweiler

Beat Gossweiler

  • 238 Posts
  • 38 Reply Likes
Geoff:

I think we are looking at two slightly differnt, although related issues here.

Johan and I experience the problem when launching an external editor which needs TIFFs to be passed to it, hence rendered by LR before launching the external editor.

On my system, if I call the external editor with one call for two images (the original AND the VC selected), only one TIFF gets rendered and the "Edit in" then hangs.

If I'm calling the external editor with two calls (one for the orginal and one for the VC), the second TIFF filename gets suffixed by "-2".

What you're reporting is an issue when saving a TIFF back from CS, which (I guess) is not passed a TIFF to begin with.

Try sending two TIFF (with one "Edit in" call" to an external editor which requires a rendered TIFF to be passed to get the same results.

Beat
Photo of Geoff Walker

Geoff Walker, Champion

  • 214 Posts
  • 43 Reply Likes
Yep, what you are doing works fine for me. Select a TIFF and a VC of it , use Edit In and the menu displays, choose original and two copies arrive in PS with names xxxx and xxxx-2. Save and they both appear back in Lightroom.
But with doing the same with a DNG and a VC of it using edit in opens both in PS as expected however the original file saves to a higher level folder while the VC saves to the correct folder.
Photo of Geoff Walker

Geoff Walker, Champion

  • 214 Posts
  • 43 Reply Likes
And you are both on Windows???
Photo of Beat Gossweiler

Beat Gossweiler

  • 238 Posts
  • 38 Reply Likes
Yes, I believe so (I am and I tested on XP and Win7).

What happens for you if you call an external editor

  • with an original AND a VC in one call

  • using TIFFs and option "Edit a Copy with LR Adjustments"

  • Have {filename} only in the filename template used for external edits



Beat