Browse Source

Merge pull request #1081 from alexwiese/patch-1

Update README.md
af/merge-core
James Jackson-South 6 years ago
committed by GitHub
parent
commit
2233fe3a91
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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. // Image.Load(string path) is a shortcut for our default type.
// Other pixel formats use Image.Load<TPixel>(string path)) // 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 image.Mutate(x => x
.Resize(image.Width / 2, image.Height / 2) .Resize(image.Width / 2, image.Height / 2)

Loading…
Cancel
Save