I have been experimenting with the -distort -filter point and noticed some interesting results when output image contains is 45 degree angle. Given that edge is 45 degrees, I would expect the edge to be precisely 1 pixel step pattern. I noticed that one edge is usually as expected but the other is usually a different repeating pattern.
The image shown has been created in Photoshop, enlarged to signal pixel level. I simply created a black square and rotated 45 degree with nearest neighbour interpolation. Just as with ImageMagick distort, I noticed the same result with the edge...not perfect single step pattern on all edges.
Cam someone explain why a 45 degree angle would not be single pixel step pattern throughout the edge?
