Lightroom: DNG Conversion, yet XMP files remain

  • 1
  • Problem
  • Updated 5 months ago
  • (Edited)
Why am I now getting XMP files again? I have the checkbox set to
automatically write changes into XMP file. I thought I wanted that checked to keep the changes in the DNG file. Is this not correct? I do not want XMP files.
Photo of Ramona Boston

Ramona Boston

  • 34 Posts
  • 1 Reply Like
  • Frustrated

Posted 6 months ago

  • 1
Photo of Paul Grant

Paul Grant

  • 49 Posts
  • 17 Reply Likes
The DNG has an embedded XMP file. It should not be generating new XMP files.
Photo of Ramona Boston

Ramona Boston

  • 34 Posts
  • 1 Reply Like
That was my thought too, but they are there. I’m thinking they’re left over from the raw conversion.
Photo of Carlos Cardona

Carlos Cardona

  • 432 Posts
  • 91 Reply Likes
Just uncheck that option, it’s there for those looking to import into another app, so you won’t lose your edits. If you’re sticking with Lightroom you won’t need it.
(Edited)
Photo of Just Shot Me

Just Shot Me

  • 327 Posts
  • 94 Reply Likes
That is a foolish statement. Need is not the same as Want. I personally want the edits I do in LR to be written some place else than just the Catalog file.
Writing the edit to a XMP or in the case of DNG, JPG, PSD, TIFF and PNG the edits get written into the file itself in a special place so they Travel with the file and can be read by LR or ACR.
Photo of Ramona Boston

Ramona Boston

  • 34 Posts
  • 1 Reply Like
I agree. I want my changes in the file.
Photo of Sunil Bhaskaran

Sunil Bhaskaran, Official Rep

  • 417 Posts
  • 147 Reply Likes
Please see the modified date/time stamp of both DNG and corresponding XMP?
Are they the same?

Thanks,
Sunil
Photo of Ramona Boston

Ramona Boston

  • 34 Posts
  • 1 Reply Like
Photo of Just Shot Me

Just Shot Me

  • 327 Posts
  • 94 Reply Likes
With DNG, TIFF, JPG, PSD and I think PNG the edits done in LR are written into a special section of the file so there is no need to write a separate XMP file.
But for that to happen you do need to have the option to Auto write changes to XMP selected, Checked, in the Catalog setting dialog window.
Photo of Ramona Boston

Ramona Boston

  • 34 Posts
  • 1 Reply Like
That is correct and how it is suppose to work but. it is not working that way.
Photo of Just Shot Me

Just Shot Me

  • 327 Posts
  • 94 Reply Likes
How do you know it is not working that way?
Do you have that option checked, Selected, in the LR Catalog Settings dialog?
If you have LR Classic CC then you also have Access to PS CC (20xx), Adobe Camera RAW and Bridge (Bridge is not needed as you can use the File Manager for this test)

Make some edit to a RAW file in LR. Close LR and open your File Manager. Browse to that file you just edited and double click on it. PS should open then ACR should open with the file loaded. Do you see the edits you did in LR? If you do then LR is writing the edits to the DNG file. You could also make the edits bold, exaggerated, so they stand out easier.

If they don't show then check the Catalog Settings to make sure that option is checked.
Photo of Ramona Boston

Ramona Boston

  • 34 Posts
  • 1 Reply Like
The option is checked, that was the first thing I checked. The xmp files aren't changed with the dng files. I can tell by the modified date. They are orphaned files that aren't being deleted.
Photo of Paul Grant

Paul Grant

  • 49 Posts
  • 17 Reply Likes
There is no separate XMP with. DNG. IT IS embedded inside the DNG wrapper.
Photo of Just Shot Me

Just Shot Me

  • 327 Posts
  • 94 Reply Likes
As above. There are no separate, additional, XMP file. The Edits are WRITTEN INTO the DNG file itself. Into a special section of the actual DNG file.
This is what every one has been trying to point out
Photo of Johan Elzenga

Johan Elzenga, Champion

  • 1985 Posts
  • 819 Reply Likes
What everybody is trying to point out is how it should be. But if you bother to look at the screenshot, you will see that there are XMP files nevertheless. This kind of 'help' is not very useful. Try to think outside the box!

The creation dates and modification dates as shown in the screenshot suggest that these are probably 'orphaned' XMP files. They belonged to the original raw files. The original raw files were deleted after they had been converted to DNG, but for some unknown reason the XMP files were not.
Photo of Just Shot Me

Just Shot Me

  • 327 Posts
  • 94 Reply Likes
Maybe they were there from the original RAW files that then were converted to DNG.

To the OP.
Since you no longer need the XMP files Delete them and do a test. Edit one of the DNG files and see if a new XMP is created.
It a new XMP shows up then you have a problem with either LR or the DNG file. 

I just did a test. imported some images as DNG, made some edits to 2, No XMP was created.
Photo of Johan Elzenga

Johan Elzenga, Champion

  • 1985 Posts
  • 819 Reply Likes
Same here. I imported a raw image, saved metadata to file so that an XMP file was created, and then converted the raw image to DNG with the option to delete the original raw file checked. Everything went as expected: the XMP file was deleted as well.
Photo of Ramona Boston

Ramona Boston

  • 34 Posts
  • 1 Reply Like
The XMP files seem to be orphans leftover from the conversion process. Only sometimes, not every file.
Photo of Johan Elzenga

Johan Elzenga, Champion

  • 1997 Posts
  • 823 Reply Likes
As we cannot reproduce this and these XMP files are definitely not used by Lightroom, the only sane advice seems to be to simply ignore this, or delete them if they somehow bother you.