From f6b87ead0e8d9c547fca3f01c12f474263d0cd5c Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Fri, 24 Jun 2016 04:49:38 +1000 Subject: [PATCH] Update code samples Former-commit-id: 803758f4797787da937f26d82026a60d92662cdd Former-commit-id: 0d3f16fdaeb2ba7ab1c1d236910d0eb1164ed107 Former-commit-id: 16199f78ef84495eb55db990f6561c0928209b22 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1432317c1..0ea2325cc 100644 --- a/README.md +++ b/README.md @@ -166,8 +166,8 @@ Here's an example of the code required to resize an image using the default Bicu ```csharp using (FileStream stream = File.OpenRead("foo.jpg")) using (FileStream output = File.OpenWrite("bar.jpg")) -using (Image image = new Image(stream)) { + Image image = new Image(stream); image.Resize(image.Width / 2, image.Height / 2) .Greyscale() .Save(output); @@ -179,8 +179,8 @@ It will also be possible to pass collections of processors as params to manipula ```csharp using (FileStream stream = File.OpenRead("foo.jpg")) using (FileStream output = File.OpenWrite("bar.jpg")) -using (Image image = new Image(stream)) { + Image image = new Image(stream); List processors = new List() { new GuassianBlur(5),