From 14d77efc5c41d1305471598103b9c1eb499ac617 Mon Sep 17 00:00:00 2001 From: Jason Nelson Date: Fri, 11 May 2018 10:31:17 -0700 Subject: [PATCH] Update Span ->ReadOnlySpan --- src/ImageSharp/Image.LoadPixelData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageSharp/Image.LoadPixelData.cs b/src/ImageSharp/Image.LoadPixelData.cs index 307660b5a5..282f980865 100644 --- a/src/ImageSharp/Image.LoadPixelData.cs +++ b/src/ImageSharp/Image.LoadPixelData.cs @@ -57,7 +57,7 @@ namespace SixLabors.ImageSharp /// The height of the final image. /// The pixel format. /// A new . - public static Image LoadPixelData(Span data, int width, int height) + public static Image LoadPixelData(ReadOnlySpan data, int width, int height) where TPixel : struct, IPixel => LoadPixelData(Configuration.Default, data, width, height);