Bug 498234 - rotated jxl images are displateyed without rotation
Summary: rotated jxl images are displateyed without rotation
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-QImage (other bugs)
Version First Reported In: 8.5.0
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-03 23:35 UTC by Jannis
Modified: 2025-01-04 21:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.6.0
Sentry Crash Report:


Attachments
example jxl with wrong orientation (2.69 MB, image/jxl)
2025-01-03 23:35 UTC, Jannis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jannis 2025-01-03 23:35:47 UTC
Created attachment 177088 [details]
example jxl with wrong orientation

SUMMARY
When viewing an jxl image in digikam (Flatpak V8.5.0, KDE Frameworks 6.9.0, QT 6.8.1) images are always shown as landscape inside the image preview. Rotating the image has an effect on the thumbnail image but not on the preview.

This behavior does not show in the 8.5.0. Snap version of digikam. It could be related to #497297 and/or #469627

STEPS TO REPRODUCE
1. Open digikam flatpak (newest version, older versions coudn´t display the jxl at all, see #497297)
2. Open the attached Image DSC02704.jxl
3. Switch to Preview by double clicking on the Image

OBSERVED RESULT
The Image is on its side (landscape mode)

EXPECTED RESULT
The Image should be in portrait mode like shown in the thumbnail.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-12-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6600 CPU @ 3.30GHz
Memory: 15,0 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530

ADDITIONAL INFORMATION
I assumed this is related to the frameworks-kimageformats, since this was responsible for the jxl display in the first place but please let me know, if this is the wrong topic.
Comment 1 Maik Qualmann 2025-01-04 20:59:15 UTC
Git commit 08b938340a60987795c3fed4f6cd857a4747398d by Maik Qualmann.
Committed on 04/01/2025 at 20:58.
Pushed by mqualmann into branch 'master'.

disable auto transformation in the QImage loader
FIXED-IN: 8.6.0

M  +1    -1    NEWS
M  +1    -5    core/dplugins/dimg/qimage/dimgqimageloader_load.cpp

https://invent.kde.org/graphics/digikam/-/commit/08b938340a60987795c3fed4f6cd857a4747398d
Comment 2 Maik Qualmann 2025-01-04 21:01:10 UTC
This was not a KImageFormats plugin bug, digiKam transforms images itself and expects to receive a non-automatically transformed image.

Maik