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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|
|