| Summary: | Face tagging doesn't work with rotation | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | tokumeino <tech> |
| Component: | Faces-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 6.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://invent.kde.org/kde/digikam/commit/6033840ce800e591137ed26eed6529794c1c1374 | Version Fixed/Implemented In: | 6.2.0 |
| Sentry Crash Report: | |||
|
Description
tokumeino
2019-05-06 07:16:36 UTC
The basic problem is clear, also has something to do with Bug 372340. A problem is also the use of the half RAW size as a preview image. Another is that we did not get the correct original size when loading the RAW preview from this Panasonic files. @Gilles, there are 2 different functions for determining the original size. In the properties tab, RAW files use MetaEngine::getItemDimensions(). This function actually determines the correct value. The preview loader will use the MetaEngine::getPixelSize() function to set the "OriginalSize" attribute when loading the half RAW size. This provides a false height of 200 pixels because Exiv2 internally uses the Sensor Width and Sensor Height values for this Panasonic RAW. Do you know from the story of the development, why there are 2 functions for the image size? Maik Maik, no idea why there is this king of difference in th code. I don't remember to code something like this. Gilles Git commit 6033840ce800e591137ed26eed6529794c1c1374 by Maik Qualmann. Committed on 07/05/2019 at 21:01. Pushed by mqualmann into branch 'master'. fix face rotation with half RAW size preview image FIXED-IN: 6.2.0 M +2 -1 NEWS M +6 -0 core/libs/database/coredb/coredbthumbinfoprovider.cpp M +2 -1 core/libs/database/coredb/coredbthumbinfoprovider.h M +7 -1 core/libs/threadimageio/fileio/loadsavethread.h M +22 -1 core/libs/threadimageio/preview/previewtask.cpp https://invent.kde.org/kde/digikam/commit/6033840ce800e591137ed26eed6529794c1c1374 |