SUMMARY Thumbnails from faces created from .dng images are not shown in People Tab. STEPS TO REPRODUCE 1. Create an album containing images with faces and different image types including .dng images 2. Scan for faces 3. In People View the thumbs of faces are visible except for .dng images OBSERVED RESULT standard thumb (sun and mountain on green background) is shown in people view instead of face EXPECTED RESULT a thumb from the scanned face should be shown SOFTWARE/OS VERSIONS Windows: 10 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
I cannot reproduce the problem here with my existing DNG files. The first question, have you installed the 64 bit version of digiKam? And not the 32 bit version by accident? Otherwise, please provide a test DNG sample, if not publicly on my email address. Maik
Hi Maik, you are right - the cause seems to be the specific installation! Till now, I don't know the exact cause. It is not the mentioned 32bit issue, but on another PC (Win10 with digikam 7.1.0) the problem does NOT pop up. And also after upgrading to 7.2.0 beta2 the problem did not occur on this 2nd PC! Now I reinstalled 7.2.0 beta2 to the 1st PC having the issue (same installation file: digiKam-7.2.0-beta2-20201227T235133-Win64.exe), but the issue still exist. I will continue tomorrow and try with a fresh installation and a new database... Dirk Am 04.01.2021 um 18:22 schrieb Maik Qualmann: > https://bugs.kde.org/show_bug.cgi?id=431150 > > Maik Qualmann <metzpinguin@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |metzpinguin@gmail.com > > --- Comment #1 from Maik Qualmann <metzpinguin@gmail.com> --- > I cannot reproduce the problem here with my existing DNG files. The first > question, have you installed the 64 bit version of digiKam? And not the 32 bit > version by accident? Otherwise, please provide a test DNG sample, if not > publicly on my email address. > > Maik >
In this case, the debug output from the Microsoft program DebugView would help us (don't forget to set the environment variable), as described here: https://www.digikam.org/contribute/ Maik
Created attachment 134694 [details] JUPITER.LOG Hi Maik, new installation and also new creation of the database does not help - although it seems so at the beginning: The first start after new installation shows all thumbnails. But while working with digikam - creating new faces, switching the view between several people more and more thumbnails become not visible. I have attached the debugview output. You will find several "Cannot create thumbnail.." and "Thumbnail is null..." regards Dirk Am 04.01.2021 um 22:25 schrieb Maik Qualmann: > https://bugs.kde.org/show_bug.cgi?id=431150 > > --- Comment #3 from Maik Qualmann <metzpinguin@gmail.com> --- > In this case, the debug output from the Microsoft program DebugView would help > us (don't forget to set the environment variable), as described here: > > https://www.digikam.org/contribute/ > > Maik >
We only see messages with the "Warning" level in the log, the normal "Debug" messages are missing. You have to set the environment variable. Open the Windows Environment Variable Editor and set a new user variable: name: QT_LOGGING_RULES value: digikam*=true Can the images still be opened in the preview? Have you activated the option to write metadata in DNG files in digiKam setup? Maik
Created attachment 134711 [details] JUPITER_wokernel.LOG Hi Maik, attached a new debugview output generated with new environment variable... I had to disable kernel capture because debugview crashed when set - I hope this is ok. Yes I can work with .dng files - view, do processings..., quite normal also the 'normal' thumbnails from DNGs are always visible - except those created for the face detection, and yes I write all metadata to image files and use the option for dng files. best regards Dirk Am 10.01.2021 um 06:45 schrieb Maik Qualmann: > https://bugs.kde.org/show_bug.cgi?id=431150 > > --- Comment #5 from Maik Qualmann<metzpinguin@gmail.com> --- > We only see messages with the "Warning" level in the log, the normal "Debug" > messages are missing. You have to set the environment variable. Open the > Windows Environment Variable Editor and set a new user variable: > > name: QT_LOGGING_RULES > value: digikam*=true > > Can the images still be opened in the preview? Have you activated the option to > write metadata in DNG files in digiKam setup? > > Maik >
Git commit 91210a6283807cb588bb24062aa950430cf47567 by Maik Qualmann. Committed on 10/01/2021 at 17:08. Pushed by mqualmann into branch 'master'. try to fix getting detail thumbnails from DNG image M +3 -2 core/libs/threadimageio/thumb/thumbnailcreator_engine.cpp https://invent.kde.org/graphics/digikam/commit/91210a6283807cb588bb24062aa950430cf47567
This change will likely fix the problem. But we should investigate why Exiv2 gives us an empty image. Can you provide an original DNG file? If possible, a DNG image that has not yet been modified. And a DNG imagee where the problem arises? If not public, then to my email address. Maik
Thanks for the sample image. I can reproduce it. The patch will help and the face thumbnails will now be created from the main image. The reason is that the embedded TIF image is defective and cannot be loaded from the TIF-library. Which program did you use to create the DNG files or do they come directly from the camera? An image that has not yet been edited with digiKam would be very useful. Maik
Git commit 6014ca9ab1f4f7474a37f9db5491ec7e9ec6a86a by Maik Qualmann. Committed on 17/01/2021 at 21:19. Pushed by mqualmann into branch 'master'. fix invalid preview image when convert to DNG file FIXED-IN: 7.2.0 M +2 -1 NEWS M +1 -0 core/libs/dngwriter/dngwriter_convert.cpp https://invent.kde.org/graphics/digikam/commit/6014ca9ab1f4f7474a37f9db5491ec7e9ec6a86a