Created attachment 186961 [details] Shows a Z50 image properties with Lens data unavailable SUMMARY Lens ID for images from the Nikon Z50 is not being picked up. Symptoms: "Lens:" shows as "unavailable" in Photograph Properties; Advanced search shows no images from Z50 when searching by lens; Lens ID is not shown in slideshow. Lens info is present in numerous fields in the metadata (e.g. "Makernote->Lens", "Makernote"->"Lens ID Number", "ExifTool"->"LensID"). Tried enabling "Use ExifTool backend to read metadata from files" in the settings but it doesn't help. STEPS TO REPRODUCE 1. Take a picture with a Nikon Z50 2. Look under Properties, "Lens:" will show as "unavailable" OBSERVED RESULT Lens info not available in Advanced Search or in slideshow annotation EXPECTED RESULT Lens info available SOFTWARE/OS VERSIONS Windows: 11 25H2, digiKam 8.8.0 ADDITIONAL INFORMATION Thank you!
We need a sample image. The one sample image I have, taken with a Z50, shows a NIKKOR Z DX 16-50mm lens without any problems. You might have a lens that Exiv2 doesn't yet recognize. Keep in mind that we still use Exiv2 internally to decode the metadata. Maik
Created attachment 186962 [details] Sample Nikon Z50 image where lens ID is not detected. Note that the attached image was generated by Nikon NX Studio v1.10 from a RAW NEF file, and is not out-of-camera. The RAW NEF file also does not have its lens ID detected by digiKam.
(In reply to Maik Qualmann from comment #1) > We need a sample image. > > The one sample image I have, taken with a Z50, shows a NIKKOR Z DX 16-50mm > lens without any problems. > > You might have a lens that Exiv2 doesn't yet recognize. Keep in mind that we > still use Exiv2 internally to decode the metadata. > > Maik Thanks for your help. I have attached a sample JPG image created by Nikon NX Studio from a RAW NEF file. The lenses I've used are all picked up by digiKam on another Nikon camera (D7100), but the difference could be that my images from the Z50 are taken with F-mount lenses using the Nikon FTZ II adapter. Perhaps Nikon writes the lens info differently when using the FTZ vs native Z-lenses?
Git commit 6ae5da5793833b833d567a08043694d501a784b6 by Maik Qualmann. Committed on 19/11/2025 at 18:02. Pushed by mqualmann into branch 'master'. add another Nikon Makernotes tag to detect lens model FIXED-IN: 8.9.0 M +1 -1 NEWS M +2 -0 core/libs/metadataengine/dmetadata/dmetadata_photo.cpp https://invent.kde.org/graphics/digikam/-/commit/6ae5da5793833b833d567a08043694d501a784b6
A Windows pre-release of digiKam-8.9.0 with this change will be available for testing around tomorrow. https://files.kde.org/digikam/ Note that the metadata of the affected images must be reread so that the lens model is added to the database (Item/Album Menu -> Reread metadata from files). Maik
(In reply to Maik Qualmann from comment #5) > A Windows pre-release of digiKam-8.9.0 with this change will be available > for testing around tomorrow. > > https://files.kde.org/digikam/ > > Note that the metadata of the affected images must be reread so that the > lens model is added to the database (Item/Album Menu -> Reread metadata from > files). > > Maik Brilliant, thanks very much for the quick turnaround!