Browse Source

Crop source origin fixed

Former-commit-id: 1e9d9b807019c9db23256dd0572aa70cbc96d7f5
Former-commit-id: 9bd277ace0d969a8b9a12f1fd7dffcc2ca4f3188
Former-commit-id: 8e3d9682314b60c1169a0319aa9ce3b23543a6f2
af/merge-core
Michael Heinrich 10 years ago
parent
commit
c07ea3d8da
  1. 2
      src/ImageProcessorCore/Samplers/Crop.cs

2
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();

Loading…
Cancel
Save