diff --git a/GreenshotPlugin/Core/ImageHelper.cs b/GreenshotPlugin/Core/ImageHelper.cs index 45f3f719f..0aaece1ed 100644 --- a/GreenshotPlugin/Core/ImageHelper.cs +++ b/GreenshotPlugin/Core/ImageHelper.cs @@ -992,5 +992,11 @@ namespace GreenshotPlugin.Core { } return newImage; } + + public static Bitmap RotateFlip(Bitmap sourceBitmap, RotateFlipType rotateFlipType) { + Bitmap returnBitmap = Clone(sourceBitmap); + returnBitmap.RotateFlip(rotateFlipType); + return returnBitmap; + } } } diff --git a/GreenshotPlugin/Interfaces/Generic.cs b/GreenshotPlugin/Interfaces/Generic.cs index 88057dce4..9bca11a5f 100644 --- a/GreenshotPlugin/Interfaces/Generic.cs +++ b/GreenshotPlugin/Interfaces/Generic.cs @@ -31,7 +31,7 @@ namespace Greenshot.Plugin { /// //public enum HorizontalAlignment {LEFT, CENTER, RIGHT}; public enum VerticalAlignment {TOP, CENTER, BOTTOM}; - public enum Effects { Shadow, TornEdge, Border, Grayscale }; + public enum Effects { Shadow, TornEdge, Border, Grayscale, Rotate90, Rotate270 }; public enum SurfaceMessageTyp { FileSaved,