Skip to content

Commit

Permalink
code revised
Browse files Browse the repository at this point in the history
  • Loading branch information
LazZiya authored Feb 17, 2019
1 parent 46e427a commit fe22f9b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ foreach (var file in Request.Form.Files)
{
using (var stream = file.OpenReadStream())
{
var result = false;
var img = ImageResize.Resize(stream, 800, 600, ResizeMethod.Contain, TargetSpot.Center);
img.SaveAs($"wwwroot\\images\\{file.FileName}");
Expand Down

0 comments on commit fe22f9b

Please sign in to comment.