From eea1aa42e39418ea3fcde74b1aa828082332563e Mon Sep 17 00:00:00 2001 From: dirk Date: Sat, 13 Aug 2016 18:51:41 +0200 Subject: [PATCH] Fixed rotation at 270 degrees. Former-commit-id: aec556c7e070aae9b56686b60ecc3b6a7bde6d84 Former-commit-id: 1a064149feb900427844ca80e514630f2ad2d088 Former-commit-id: 900d3d5e2e3069fd03099532c39a8e0c94eb905d --- src/ImageProcessorCore/Samplers/Processors/RotateProcessor.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ImageProcessorCore/Samplers/Processors/RotateProcessor.cs b/src/ImageProcessorCore/Samplers/Processors/RotateProcessor.cs index 321a81be4..3425d6b8d 100644 --- a/src/ImageProcessorCore/Samplers/Processors/RotateProcessor.cs +++ b/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]; }