Created attachment 107552 [details] screenshot example Images during import preview are not rotated correctly. Both rotations are incorrect, however this might be the camera (the main view should be correct, the thumbnail is incorrect). See attachment. Using Digikam 5.6.0 http://commits.kde.org/digikam/8ef66e27581dbe093df346525b11d02d953ec009.
Also, the rotational difference is not always 90°, sometimes it is 180° too.
Can you provide two test images with and without the rotate problem? Maik
Privately to your email, yes. In BKO, no. Would that be OK?
Yes thats OK. Maik
digiKam 7.0.0 stable release is now published: https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/ We need a fresh feedback on this file using this version. Best Regards Gilles Caulier
Jens, What's about this file using current 7.5.0 pre-release bundle available here : https://files.kde.org/digikam/ Thanks in advance Gilles Caulier
I sent the original image which provoked the bug to your email. I cannot reproduce this with current smartphone images, but this file still behaves like originally reported.
Thanks for the test image. The problem is clear in the import tool, there is currently no code that aligns the thumbnails. This is also due to the fact that, depending on the driver (GPhoto2) used and the settings for reading metadata, there is simply no information available about the orientation of the image. Maik
So is this a WONTFIX bug, or is there something we can do about it? It is confusing to see two different rotations while importing. A thought: do we really need to load the full image while importing? This has always lagged behind on my computer (I never see all images flickering by, only about every fourth or so), vidoes autostart playing and you suddenly hear the sound while the video never shows, and there is really no informational benefit to just loading the thumbnails. Maybe it is better and easier to just show thumbnails while importing?
Hi Jens, This can be fixed depending of the metadata available for camera items. As Maik said it's depend of camera driver (Gphoto2 for example provide only a restricted metadata, and when it's done, it's depend of camera model). It's depend also of the metadata handling option for the UMS driver. If this option is enabled, Exif will be available and the thumbs can be rotated. If this option is not enabled, nothing will happen. To add code to rotate thumbnails is not a problem. The problem is the availability of orientation flag from Exif. Gilles Caulier
@Jens, digiKam 8.0.0 is out. Problem still valid with this release ? Best regards Gilles Caulier
I cannot say, do you still have the images I sent as an example? I don't have the originals any more.
I never receive the sample files. Perhaps Maik has the data somewhere in a mail archive. Gilles
The problem persists because we are not doing any rotation in the import tool. I plan to implement it when metadata option is enabled. Maik