How to find & replace lens profiles?

I’ve got images that were tagged with alternate lens profiles when the appropriate profile was not yet available for a new lens, e.g. shot with Samyang 35mm f1.4 but tagged as Sony Zeiss Distagon 35mm f1.4 or Sony GM 35mm f1.4. How can I:

  1. locate all photos tagged with one of these alternate profiles, and
  2. replace the profile with the now-available profile for the Samyang lens?

Thanks for any help.

Who tagged those images and how?
Knowing this could possibly help to reverse the changes.
Maybe you have backups of the files from BEFORE they were tagged?

@Jacques4242 It’s very simple.

  • Open PhotoLab on a folder without any photos, so that no photos are in memory
  • menu DxO Optics Module [OM] / Installed DxO OM
  • Select bads OM with Control key and Remove them
  • Open PhotoLab on a folder with yours Samyang lens photos.
    PhotoLab ask you to load the correct OM

Pascal

2 Likes

That was my immediate idea when I read his post. However, he must have swapped some metadata to “cheat,” and now he has to undo it – at least that’s how I imagine it.

???

1 Like

Thanks! I’ve removed profiles for lenses I’ve never owned. When I’ve gotten new lenses for which modules were not yet available, I’ve sometimes applied alternative modules suggested by PhotoLab. Now, I want to find those images and apply the correct modules after they’ve become available. Oddly, PhotoLab is still asking me whether I want to apply the Sigma or Sony module for images shot with my Sony 24-105/4.

Module ambiguity is signalled by one of the badges that can appear on the frame around the thumbnails:

The nasty thing about this approach is that you’ll have to search those images by opening folder after folder after folder … Alternatively, use search for the wrong lens and rename the files with a prefix so that you can then mod the entries in whatever editor you like.

Brute force approach: quit PL, rename the database, trash all modules, launch PL and index the archive. Missing modules should now come up in the module download window…and show an orange icon if ambiguities still exist.

Brute force approach: Change all files that could have been tweaked to have the correct lens metadata. Several tags need to be changed though.

Brute force approach: Edit the database in which you replace the tweaked entries by correct ones and then start PL. It should now propose to download the correct modules. And while you’re at it, you could as well edit the ambiguity table and/or entries in other tables.

Note: It’s wise to back up things before doing brute force changes or deleting the DB.
Still: as long as we don’t know who and how the files were tweaked, we can just guess and propose ways that might be more complicated or risky.

I used to tweak metadata with a hex editor in order to make PLload the correct module. I worked on copies and restored the originals asa PL was able to resolve the issues. Later I edited the database or used ExifTool. But never without keeping backups.

2 Likes

Thanks. I appreciate the lengthy and thorough reply. Rather than hunt down the images tagged with now-missing modules, I’ll just wait until I stumble across them and apply the correct modules when the option pops up.

2 Likes

You could try a search …
grafik

2 Likes

It’s not PhotoLab, but the poor quality of the EXIF data.

Pascal

…is compromised by 3rd party manufacturers adopting lens IDs that other manuf’s have already used. In order to "improve such situations, PhotoLab takes other metadata into account for module determination.

One single feature could remedy all such issues: Manual Module Selection. It has been requested several times over the last years, but DxO does not seem to be interested in supporting non-auto features in this area.
:man_shrugging:

1 Like