Created attachment 172905 [details] screen shot of the observed result SUMMARY Show Focus Point seems to be not rotated. STEPS TO REPRODUCE I don't test it to reproduce it but it should failed woth next 1. Take a photo in portrait with the focus point at top or bottom 2. Download it in DK 3. Observe the photo in Preview or LithgTable with "Show Focus Point" OBSERVED RESULT The Focus Point is outside the photo (see screen shot attached) EXPECTED RESULT The Focus Point need to be rotated as weel as the photo SOFTWARE/OS VERSIONS Windows 10 Version 22H2 (x86_64) ADDITIONAL INFORMATION Build date: 23/08/2024 13:01 (target: RelWithDebInfo) Revision: 5b93c59f5372d8c551264d4241168c4f753cf7b2 Branch: master Camera : Sony DSC-RX10M4
(Not shure of the component)
I cannot reproduce the problem here with Nikon portrait photos. Were the images subsequently rotated? We need a sample image in the original from the camera and after import when the problem occurs. Maik
Created attachment 172935 [details] Portrait photo from memory card Portrait photo (memory card) with focus at top
Created attachment 172936 [details] Portrait photo (from DK) with focus at top Portrait photo (after import into DK) with focus at top. The only transformation are file name rennaming and auto-creation of album with a custom date format
(In reply to Maik Qualmann from comment #2) > I cannot reproduce the problem here with Nikon portrait photos. Were the > images subsequently rotated? We need a sample image in the original from the > camera and after import when the problem occurs. > > Maik Yes Images are correctly rotated. Please find two attached file with the first fiel coming direcly from the memory card and the second after import. In preview mode, show the focus point, it is outside the photo. Rotated it clockwise, the focus point disappear (https://bugs.kde.org/show_bug.cgi?id=492123 it's also the same behaviour with preview mode). Force to it to be shown again (select another photo and come back on the first or unactive/active the ShowFocusPoint, it is still at the same place (did not rotated with the photo) but it is now at the right place. Rotate counterclockwise to have the photo in portrait back, the focus point change form (a small rectangle instead a square) in a new place inside the photo (but not correct place). Unactive/active the ShowFocusPoint, it come back to the first position (outside the photo without rotation)
Git commit 332dbaaa90d50aad3461eacc2ab8a0e5a49b4247 by Maik Qualmann. Committed on 25/08/2024 at 20:20. Pushed by mqualmann into branch 'master'. better handle EXIF rotated images for focus point It is difficult to handle images with pixel rotation because we no longer know the original orientation. M +12 -5 core/utilities/focuspointmanagement/focuspointgroup_p.cpp https://invent.kde.org/graphics/digikam/-/commit/332dbaaa90d50aad3461eacc2ab8a0e5a49b4247