Skip to content

Commit e298a7f

Browse files
committed
remove un-necessary whitespace
1 parent 8de8fb2 commit e298a7f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ImageResizer/Global.asax.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ public Stream Get(Resize request)
100100
using (var stream = File.OpenRead(imagePath))
101101
using (var img = Image.FromStream(stream))
102102
{
103-
104103
var parts = request.Size == null ? null : request.Size.Split('x');
105104
int width = img.Width;
106105
int height = img.Height;
@@ -133,7 +132,6 @@ public static Stream Resize(Image img, int newWidth, int newHeight)
133132
var ratioX = (double)newWidth / img.Width;
134133
var ratioY = (double)newHeight / img.Height;
135134
var ratio = Math.Max(ratioX, ratioY);
136-
137135
var width = (int)(img.Width * ratio);
138136
var height = (int)(img.Height * ratio);
139137

0 commit comments

Comments
 (0)