diff --git a/src/ImageSharp/Image.LoadPixelData.cs b/src/ImageSharp/Image.LoadPixelData.cs index 9df8b1d99..3d416b70e 100644 --- a/src/ImageSharp/Image.LoadPixelData.cs +++ b/src/ImageSharp/Image.LoadPixelData.cs @@ -97,10 +97,9 @@ namespace SixLabors.ImageSharp /// A new . public static Image LoadPixelData(Configuration config, TPixel[] data, int width, int height) where TPixel : struct, IPixel - { + { // There's an implict cast to Span from Array // Should we remove this overload and expose Span ? - return LoadPixelData(config, new Span(data), width, height); }