Hello everybody!
I am a really satisfied Paint.net user. I have been using the software for years and it is great, simply the best pixel editor I have tried. Congratulations for your work!!
I use the software mainly for pixel counting purposes, and I have recently discovered what I think is a bug or at least a calculation problem. I would like to show it to you using an example:
· Attachement number 1: I have created a blank image with a resolution of 10x10 pixels. If I draw a horizontal line (width = 1 pixel) from left to right, the length of the line appears as 10.00 pixels, which is right.
· Attachement number 2: If I do the same but with a vertical line, the result is also right: 10.00 pixels. In both cases, the angle is also right (0.00 degrees for the horizontal line, and 90.00 degrees for the vertical line).
· Attachement number 3: The problem appear when I am getting the length of a diagonal straight line. Theoretically, a 10x10 pixel resolution image needs to have a diagonal length of 14.14 pixels (calculated using the Pythagorean theorem), but Paint.net is giving always a lower value. Although the angle is perfectly fixed at 45.00 degrees, the length value is 13.73 pixels instead of the calculated 14.14 we would have expected, so that is what is bothering me. I have tried the same approach in similar programs and I obtain the expected 14.14 pixel length when measuring that diagonal.
I would really appreciate your opinions. Thanks!!