We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd41996 commit 7f52477Copy full SHA for 7f52477
MetadataExtractor/Formats/QuickTime/QuickTimeMetadataReader.cs
@@ -88,7 +88,7 @@ static void SetRotation(QuickTimeTrackHeaderDirectory directory)
88
{
89
var x = matrix[1] + matrix[4];
90
var y = matrix[0] + matrix[3];
91
- var theta = Math.Atan2(x, y);
+ var theta = Math.Atan2(y, x);
92
var degree = RadiansToDegrees(theta) - 45;
93
94
directory.Set(QuickTimeTrackHeaderDirectory.TagRotation, degree);
0 commit comments