Reverted incorrect patch when doing auto-orient of an image that is right-top or left-bottom.

This commit is contained in:
Dirk Lemstra
2022-06-16 20:59:59 +02:00
parent 1bb549fdd9
commit ca1913ba9c
+2 -2
View File
@@ -141,7 +141,7 @@ MagickExport Image *AutoOrientImage(const Image *image,
}
case RightTopOrientation:
{
orient_image=RotateImage(image,270.0,exception);
orient_image=RotateImage(image,90.0,exception);
break;
}
case RightBottomOrientation:
@@ -151,7 +151,7 @@ MagickExport Image *AutoOrientImage(const Image *image,
}
case LeftBottomOrientation:
{
orient_image=RotateImage(image,90.0,exception);
orient_image=RotateImage(image,270.0,exception);
break;
}
}