Uwe Posted February 4, 2021 Report Share Posted February 4, 2021 Hello, there are different entries in the tag "Camera Lens" for the same lens. Here is the explanation and a request: 1. a RAW photo is imported (e.g. Canon CR2 format). Daminion first reads the tag "LensType" from the "MakerNote". This leads to the following tag content of Camera Lens in Daminion: "Canon EF 24-70mm f/2.8L II USM".The tag "Exif:LensModel" with the content "EF24-70mm f/2.8L II USM" is also present, but is not considered because of the priority when reading (see Daminion Mapping Rules). 2. The RAW photo is opened with the RAW converter in Photoshop CS6 and only the lens correction is performed. This creates an XMP sidecar file that only contains the tag "XMP-aux:Lens" with the following content: "EF24-70mm f/2.8L II USM". 3. The CR2 RAW file is exported as a TIF and imported into Daminion. In the TIF file the tags "Exif:LensModel" with the content "EF24-70mm f/2.8L II USM" and "XMP-aux:Lens" with the content "EF24-70mm f/2.8L II USM" are present. According to the mapping rules, "XMP-aux:Lens" is read. 4. from 3. follows: thus two entries of the same lens are present in the tag "Camera Lens": from the CR2 RAW: "Canon EF 24-70mm f/2.8L II USM" and from the TIF file: "EF24-70mm f/2.8L II USM". 5. if, however, the RAW file is now read again using "Read tags from file", the tag from the "Maker Note - LensType" of the CR2 file is not read, but the tag "XMP-aux:Lens" from the XMP sidecar file and thus the content of the tag "Camera Lens" of the CR2 RAW file in Daminion becomes "EF24-70mm f/2.8L II USM". Conclusion: I.e. As long as the original RAW file (with existing XMP sidecar) is not read again via "Read tags from file", different entries exist in the tag "Camera Lens" for the same lens. Please: Either Daminion changes the order of priorities when reading, first "Exif:LernsModel" or better in one of the settings files the user can set the order himself. Many greetings, Uwe Update: here is an example how one can set the priority for tag in digiKam (Linux version) Quote Link to comment Share on other sites More sharing options...
Uwe Posted May 18, 2021 Author Report Share Posted May 18, 2021 Hello, I found in the German Wiki https://de.wikipedia.org/wiki/Metadata_Working_Group the following example description for JPG files (translated by Deepl.com): "Up to now, in a digital image file, for example in JPG format, different information on the same subject can be stored simultaneously in the containers for Exif as well as for IPTC and XMP. It is undefined which information is valid. With the MWG specification, it is clearly defined for the example JPG file that the Exif information has priority over IPTC and XMP, provided that it is present here." From my point of view Daminion should read Exif metadata first, even if in the settings of the preferences the sidecar is selected for RAW files to get the unique metadata in the catalog independent on the time the files was read. Regards, Uwe Quote Link to comment Share on other sites More sharing options...
Uwe Posted December 20, 2023 Author Report Share Posted December 20, 2023 Hello, the problem that there are different entries for the same lens still exists. Here is an example of the differences between the RAW photo and the TIF photo developed from it (with Affinity Photo). RAW photo composite tags LensID: Canon EF 24-70mm f/2.8L II USM XMP sidecar for RAW photo composite tag LensID: EF24-70mm f/2.8L II USM TIF Photo Composite Tag LensID: EF24-70mm f/2.8L II USM Identical in all files is the tag LensModel: EF24-70mm f/2.8L II USM I may have to accept that each manufacturer/app handles the tags differently. Therefore, it makes sense to me, as shown in the screenshot above, to set the priorities in which the tags are read in the settings themselves. The tags documented here and their processing priorities are no longer up to date: https://daminion.net/files/daminion-metadata-mapping-rules.pdf Best regards, Uwe Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.