https://bugs.kde.org/show_bug.cgi?id=461205

            Bug ID: 461205
           Summary: HEIF images are not rotated properly
    Classification: Applications
           Product: digikam
           Version: 7.8.0
          Platform: OpenSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Metadata-Orientation
          Assignee: digikam-bugs-n...@kde.org
          Reporter: a...@hiq2.com
  Target Milestone: ---

Created attachment 153326
  --> https://bugs.kde.org/attachment.cgi?id=153326&action=edit
HEIC image (shows correct thumbnail, imported with digikam 7.1.0)

SUMMARY
HEIF images are not rotated properly according to their EXIF orientation unlike
a (almost) comparable JPEG images.
I provide three images to compare: two HEIF images (HEVC codec), X dimension
larger than Y dimension and orientation tag of 6 (which is commonly displayed
as "Rotate 90 CM" or "top, right") and an JPEG image with the same properties
regarding these aspects.
The JPEG image is displayed correctly (portrait) whereas the HEIF image is not
(landscape). I guess the will be no difference in the HEIF images when they are
imported, the reason why I provide two is that one of them (IMG_0770.heic) was
imported with digikam 7.1.0 in my installation which generated a correctly
oriented thumbnail (but shows an incorrect orientation of the preview image),
whereas IMG_864.heic was imported with digikam 7.8.0 where both thumbnail and
preview are wrong. So it seems there is a change in behaviour.
 Gwenview and the dolphin preview show everything fine.


STEPS TO REPRODUCE
1. Import HEIF image with orientation 6 (example provided)

OBSERVED RESULT
Wrong orientation (landscape)

EXPECTED RESULT
Correct orientation (portrait)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSuSE Tuwbleweed 20221014
(available in About System)
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to