diff --git a/Greenshot/Drawing/ImageContainer.cs b/Greenshot/Drawing/ImageContainer.cs index 6f2267f67..d99ae8743 100644 --- a/Greenshot/Drawing/ImageContainer.cs +++ b/Greenshot/Drawing/ImageContainer.cs @@ -155,18 +155,6 @@ namespace Greenshot.Drawing { image = ImageHelper.ApplyEffect(image, new RotateEffect(rotateAngle), tmpMatrix); } } - } else { - float scaleX = CalculateScaleX(matrix); - float scaleY = CalculateScaleY(matrix); - int newWidth = (int)(Width * scaleX); - int newHeight = (int)(Height * scaleY); - if (newWidth != Width || newHeight != Height) { - using (var tmpMatrix = new Matrix()) { - using (Image tmpImage = image) { - image = ImageHelper.ApplyEffect(image, new ResizeEffect(newWidth, newHeight, false), tmpMatrix); - } - } - } } base.Transform(matrix); }