mirror of
https://github.com/Tichau/FileConverter.git
synced 2026-11-28 09:22:17 +01:00
Merge pull request #807 from 0xyo/fix/784-rotate-image-direction
Fixes: Rotate left/right image presets rotated images in the wrong di…
This commit is contained in:
1 file changed
+3
-1
@@ -177,7 +177,9 @@ namespace FileConverter.ConversionJobs
|
||||
{
|
||||
Debug.Log($"Apply rotation: {rotateAngleInDegrees}°.");
|
||||
|
||||
image.Rotate(rotateAngleInDegrees);
|
||||
// ImageMagick rotates clockwise for positive angles, the app expects
|
||||
// counter-clockwise (video path uses ffmpeg transpose=2 for 90°).
|
||||
image.Rotate(-rotateAngleInDegrees);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user