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),