From b6883c1a978f67eeaecf6c6dfd7bec952232ceb7 Mon Sep 17 00:00:00 2001 From: tonygameplan <50851017+tonygameplan@users.noreply.github.com> Date: Tue, 4 Jun 2019 23:44:52 -0700 Subject: [PATCH] Fix missing "using PixelFormats" line in Readme example (#921) * Fix missing PixelFormats line in first API example "" does not appear to be defined without the "using SixLabors.ImageSharp.PixelFormats;" line and causes a "The type or namespace name 'Rgba32' could not be found (are you missing a using directive or an assembly reference?) (CS0246)" error to occur. * Remove stray newline --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 515fc7196..a5c3457fa 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ On platforms supporting netstandard 1.3+ ```csharp using SixLabors.ImageSharp; using SixLabors.ImageSharp.Processing; +using SixLabors.ImageSharp.PixelFormats; // Image.Load(string path) is a shortcut for our default type. // Other pixel formats use Image.Load(string path))