Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
libkexiv2
Commits
22ad3c64
Commit
22ad3c64
authored
Aug 06, 2022
by
Volker Krause
Browse files
Port test from QMatrix to QTransform
parent
40cd78b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/setiptcpreview.cpp
View file @
22ad3c64
...
...
@@ -8,7 +8,7 @@
// Qt includes
#include
<Q
Matrix
>
#include
<Q
Transform
>
#include
<QImage>
#include
<QString>
#include
<QFile>
...
...
@@ -34,7 +34,7 @@ int main (int argc, char **argv)
KExiv2
meta
(
filePath
);
QImage
image
(
filePath
);
Q
Matrix
matrix
;
Q
Transform
matrix
;
matrix
.
rotate
(
90
);
image
=
image
.
transformed
(
matrix
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment