mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
Reverted incorrect patch when doing auto-orient of an image that is right-top or left-bottom.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user