Skip to content

Commit

Permalink
Reverted incorrect patch when doing auto-orient of an image that is r…
Browse files Browse the repository at this point in the history
…ight-top or left-bottom.
  • Loading branch information
dlemstra committed Jun 16, 2022
1 parent 6e68635 commit 9e0d7b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magick/transform.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,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:
Expand All @@ -148,7 +148,7 @@ MagickExport Image *AutoOrientImage(const Image *image,
}
case LeftBottomOrientation:
{
orient_image=RotateImage(image,90.0,exception);
orient_image=RotateImage(image,270.0,exception);
break;
}
}
Expand Down

0 comments on commit 9e0d7b9

Please sign in to comment.