-
Edit: Should this question rather be asked in the ImageMagick Repo? Hello, var newLength = Math.Sin(1.422346555) * 10000 + Math.Cos(1.422346555) * 10000;
Console.WriteLine(newLength);
// returns 11369,066856491 Of course there is no hundredth of a pixel so it has to be rounded up. But actually the rotated image is 11372 instead of 11370 pixels wide. Another image 5000 px wide resulted in a 5686 px wide rotated image with the same angle - which is one extra pixel after rounding up. So the question is: how does ImageMagick calculate the dimensions of a rotated image? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answered here |
Beta Was this translation helpful? Give feedback.
Answered here