Fix rotation matrix https://bugs.kde.org/show_bug.cgi?id=344155 http://commits.kde.org/libkexiv2/5a716d237a6c379c6300df2b1cc8d25b9ccd9773 --- libkexiv2/rotationmatrix.cpp.orig 2014-10-07 01:07:22.000000000 -0500 +++ libkexiv2/rotationmatrix.cpp 2015-05-25 19:23:48.000000000 -0500 @@ -65,9 +65,9 @@ (I did not proof that mathematically, but empirically) static const RotationMatrix identity; //( 1, 0, 0, 1) - static const RotationMatrix rotate90; //( 0, -1, 1, 0) + static const RotationMatrix rotate90; //( 0, 1, -1, 0) static const RotationMatrix rotate180; //(-1, 0, 0, -1) - static const RotationMatrix rotate270; //( 0, 1, -1, 0) + static const RotationMatrix rotate270; //( 0, -1, 1, 0) static const RotationMatrix flipHorizontal; //(-1, 0, 0, 1) static const RotationMatrix flipVertical; //( 1, 0, 0, -1) static const RotationMatrix rotate90flipHorizontal; //( 0, 1, 1, 0), first rotate, then flip @@ -79,9 +79,9 @@ { static const RotationMatrix identity ( 1, 0, 0, 1); -static const RotationMatrix rotate90 ( 0, -1, 1, 0); +static const RotationMatrix rotate90 ( 0, 1, -1, 0); static const RotationMatrix rotate180 (-1, 0, 0, -1); -static const RotationMatrix rotate270 ( 0, 1, -1, 0); +static const RotationMatrix rotate270 ( 0, -1, 1, 0); static const RotationMatrix flipHorizontal (-1, 0, 0, 1); static const RotationMatrix flipVertical ( 1, 0, 0, -1); static const RotationMatrix rotate90flipHorizontal ( 0, 1, 1, 0);