Browse Source

Update README.md

Fix code compilation error in example
af/merge-core
Alex Wiese 6 years ago
committed by Alex Wiese
parent
commit
5d07b21db6
  1. 2
      README.md

2
README.md

@ -80,7 +80,7 @@ using SixLabors.ImageSharp.PixelFormats;
// Image.Load(string path) is a shortcut for our default type.
// Other pixel formats use Image.Load<TPixel>(string path))
using (Image<Rgba32> image = Image.Load("foo.jpg"))
using (Image image = Image.Load("foo.jpg"))
{
image.Mutate(x => x
.Resize(image.Width / 2, image.Height / 2)

Loading…
Cancel
Save