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:
Adrien Allard authored and GitHub committed 2026-10-19 17:51:23 +02:00
commit 5dce6c0980
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);
}
}