diff --git a/src/ImageSharp/Processing/Processors/Transforms/ResamplerExtensions.cs b/src/ImageSharp/Processing/Processors/Transforms/ResamplerExtensions.cs index 674b7f4231..245adb2383 100644 --- a/src/ImageSharp/Processing/Processors/Transforms/ResamplerExtensions.cs +++ b/src/ImageSharp/Processing/Processors/Transforms/ResamplerExtensions.cs @@ -38,7 +38,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Transforms if (matrix.Equals(default) || matrix.Equals(Matrix3x2.Identity)) { // The clone will be blank here copy all the pixel data over - source.GetPixelSpan().CopyTo(destination.GetPixelSpan()); + source.GetPixelMemoryGroup().CopyTo(destination.GetPixelMemoryGroup()); return; } @@ -110,7 +110,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Transforms if (matrix.Equals(default) || matrix.Equals(Matrix4x4.Identity)) { // The clone will be blank here copy all the pixel data over - source.GetPixelSpan().CopyTo(destination.GetPixelSpan()); + source.GetPixelMemoryGroup().CopyTo(destination.GetPixelMemoryGroup()); return; }