Hey Odd,
Thanks for your input! You are correct that the DNG spec (1.4) does say "metadata
may be embedded" (and also correct about it being an option to embed original RAW file).
I wanted to see how Photoshop handles this (since Adobe is the creator of that as well as DNG and XMP). So I took a Leica M10 DNG file and "borrowed" an XMP file from a different photo (from an ARW). Totally different metadata in DNG versus XMP sidecar. I also made sure that the XMP sidecar file has a more recent modification time than the DNG file. Then I opened the DNG file into PS (via ACR plug-in). Guess what happens?
ACR uses the XMP metadata for the image loaded into PS (as we would hope), but then it also modified the DNG file to include this updated XMP, and then it
deleted the XMP sidecar file! So I could (jokingly) say that there is your fix for transferring XMP sidecar metadata from C1 into DNG so PM can read it: open the photo in Photoshop
Obviously this is not a solution.
If the DNG has a more recent modification date, then the XMP sidecar is ignored as far as what metadata is loaded into PS. But PS/ACR
still deletes the XMP sidecar!
This has a very unfortunate side effect if I put the DNG file (
without an XMP sidecar) next to the ARW file (
with an XMP sidecar), then make them have the same name, like this:
sample.DNG
sample.ARW *-| These belong together
sample.XMP *-|
Guess what happens? My ARW file now has no metadata after I open the DNG into PS/ACR, and if the ARW+XMP was more recently updated, then the DNG inherits the XMP of the wrong file. Not good!
A similar issue could happen in PM if we associate XMP sidecars with DNG. PM would have to figure out somehow whether the XMP belongs to the ARW or the DNG. If it chose (incorrectly) the DNG, and I moved or deleted the DNG, then the ARW file would lose its metadata (and of course the DNG would have the wrong metadata).
So, although the DNG specification says that you
may embed XMP metadata, I think the expectation is that you embed the XMP instead.
We certainly are NOT going to make any changes to PM 5, but we may do something about this in PM 6 but I'm not quite sure what to do that isn't a lot of work. PM already has an issue where if you have, say, a NEF and a CR2 (etc) in the same folder with the same name, then an XMP sidecar file will be associated with both of them. But this is a less likely situation than having a DNG alongside a NEF or CR2 (etc) with the same name. For example I may choose to convert my NEF into a DNG with DNG Converter, and put the converted file into the same folder with the same name.
We will think this over carefully and try to fix this situation as best we can moving forward.
Regards,
--dennis