Browse Source

Fixed rotation at 270 degrees.

Former-commit-id: aec556c7e070aae9b56686b60ecc3b6a7bde6d84
Former-commit-id: 1a064149feb900427844ca80e514630f2ad2d088
Former-commit-id: 900d3d5e2e3069fd03099532c39a8e0c94eb905d
pull/1/head
dirk 10 years ago
parent
commit
eea1aa42e3
  1. 1
      src/ImageProcessorCore/Samplers/Processors/RotateProcessor.cs

1
src/ImageProcessorCore/Samplers/Processors/RotateProcessor.cs

@ -141,7 +141,6 @@ namespace ImageProcessorCore.Processors
int newX = height - y - 1;
newX = height - newX - 1;
int newY = width - x - 1;
newY = width - newY - 1;
tempPixels[newX, newY] = sourcePixels[x, y];
}

Loading…
Cancel
Save