diff --git a/Src/Utils/ImageUtil.NET40.cs b/Src/Utils/ImageUtil.NET40.cs index 29cefc5..096d46f 100644 --- a/Src/Utils/ImageUtil.NET40.cs +++ b/Src/Utils/ImageUtil.NET40.cs @@ -500,7 +500,8 @@ private static Bitmap ResetDpi(Image image, float xDpi = 96f, float yDpi = 96f, graphics.SmoothingMode = SmoothingMode.HighQuality; graphics.CompositingQuality = CompositingQuality.HighQuality; graphics.Clear(Color.Transparent); - graphics.DrawImage(image, new System.Drawing.Rectangle(0, 0, bitmap.Width, bitmap.Height), new System.Drawing.Rectangle(0, 0, image.Width, image.Height), GraphicsUnit.Pixel); + graphics.DrawImage(image, new System.Drawing.Rectangle(0, 0, bitmap.Width, bitmap.Height) + , new System.Drawing.Rectangle(0, 0, image.Width, image.Height), GraphicsUnit.Pixel); } return bitmap;