| Summary: | NEF file not added to database | ||
|---|---|---|---|
| Product: | [Applications] kphotoalbum | Reporter: | Franz Graf <franz.graf> |
| Component: | general | Assignee: | KPhotoAlbum Bugs <kphotoalbum-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | franz.graf, johannes, tl |
| Priority: | NOR | ||
| Version First Reported In: | 6.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Franz Graf
2024-12-28 19:04:24 UTC
Additional information: After downgrading to kphotoalbum-5.13.0, marble-common-24.08.3, and marble-24.08.3, NEF files are added to the database and show in viewer. Hi, thanks for your bug reports! Would you mind to provide an example NEF file? I don't use or have RAW photos, so I can't test it … Thanks for looking into this. Here one NEF: https://drive.google.com/file/d/1-koDMB9jADvue-d_zu6uVN8GSdXay9kU/view?usp=sharing Okay. Qt itself can actually process this type of image (I tried it with KGeoTag, which doesn't use a raw image library, but only Qt functionality, and I could open your file). The problem is that currently, KPhotoAlbum doesn't classify this file as readable. Whilst searching for new images, two checks are done: 1. If QImageReader lists the MIME type and if not 2. if one of our decoders can read it. The MIME type is "image/x-nikon-nef" in your case. This is not directly listed in QImageReader::supportedMimeTypes(), but it also wasn't for KPA 5. The difference is that KPA 5 stated it would be still decodeable (calling ImageManager::ImageDecoder::mightDecode), but KPA 6 doesn't anymore. This needs a closer inspection … Git commit eef069151b4aef0d216cb57fe257afba24a8737b by Johannes Zarl-Zierl. Committed on 20/10/2025 at 10:07. Pushed by johanneszarl into branch 'master'. Fix detection of libkdcraw There was a typo preventing usage of KDcraw even if it was correctly found at configure time. M +1 -0 CHANGELOG.md M +1 -1 lib/CMakeLists.txt https://invent.kde.org/graphics/kphotoalbum/-/commit/eef069151b4aef0d216cb57fe257afba24a8737b Hi! Are you able to check with the latest kphotoalbum version from git? I believe the issue should be fixed now... Cheers, Johannes I installed the git version and it behaves as expected. The added NEF file is added to the database. Thank you! Thanks for taking the time to confirm! |