diff --git a/src/ImageProcessorCore/Samplers/Crop.cs b/src/ImageProcessorCore/Samplers/Crop.cs index 0d17e2f54..3c315c574 100644 --- a/src/ImageProcessorCore/Samplers/Crop.cs +++ b/src/ImageProcessorCore/Samplers/Crop.cs @@ -29,7 +29,7 @@ namespace ImageProcessorCore.Samplers { for (int x = startX; x < endX; x++) { - target[x, y] = source[x, y]; + target[x, y] = source[x + sourceRectangle.X, y + sourceRectangle.Y]; } this.OnRowProcessed();