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

Johannes Zarl-Zierl <johan...@zarl-zierl.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kph
                   |                            |otoalbum/3079eb94192e3f4095
                   |                            |8193b6fd57fd5f0ebd8b3b

--- Comment #9 from Johannes Zarl-Zierl <johan...@zarl-zierl.at> ---
Git commit 3079eb94192e3f40958193b6fd57fd5f0ebd8b3b by Johannes Zarl-Zierl.
Committed on 27/09/2019 at 22:03.
Pushed by johanneszarl into branch 'master'.

Fix handling of raw image rotation.

Raw images usually contain an embedded jpeg preview image that is
sufficient for many use cases.
The embedded preview is returned by libkdcraw in its non-rotated form
(probably not to confuse renderers, since the preview image has exiv
orientation data), while the raw image is returned in its rotated form.
Both images have until now been passed through the same pipeline as all
other images, rotating (and scaling) the image before display.

This leads to an incorrectly rotated image as soon as the raw image is
decoded (because it is rotated a second time). This patch bypasses the
rotation when the source is a decoded raw image.

M  +3    -3    ImageManager/ImageDecoder.cpp
M  +4    -4    ImageManager/ImageDecoder.h
M  +2    -2    ImageManager/ImageLoaderThread.cpp
M  +12   -1    ImageManager/ImageRequest.cpp
M  +10   -1    ImageManager/ImageRequest.h
M  +8    -6    ImageManager/RawImageDecoder.cpp
M  +1    -1    ImageManager/RawImageDecoder.h

https://commits.kde.org/kphotoalbum/3079eb94192e3f40958193b6fd57fd5f0ebd8b3b

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

Reply via email to