[Digikam-devel] [digikam] [Bug 344155] Rotating raw image sometimes results in the preview showing the photo rotated in the opposite direction [patch]

Maik Qualmann metzpinguin at gmail.com
Sat Feb 21 23:28:32 GMT 2015


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

--- Comment #3 from Maik Qualmann <metzpinguin at gmail.com> ---
Created attachment 91206
  --> https://bugs.kde.org/attachment.cgi?id=91206&action=edit
rotationmatrix.patch

The bug is in libkexiv2, matrix variables for rotate90 and rotate270 are
reversed.
Test:
QMatrix m;
m.rotate(90); // m11() == 0, m12() == 1, m21() == -1, m22() == 0
m.rotate(270); // m11() == 0, m12() == -1, m21() == 1, m22() == 0

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list