Rectangle Select: Show length of diagonal

Recommended Posts

In the moment 'Rectangle Select' shows in the statusbar

- top/left

- bounding size

- Area size

It would be nice to add the length of the diagonal if units are centimeters or inches.

This would allow to measure easily the distance of two points in the image.

Share on other sites

I wouldn't use this as much myself, but it would be a useful feature.

Share on other sites

This would allow to measure easily the distance of two points in the image.

You can use the line tool for that.

http://i.imgur.com/xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Share on other sites

if you just want to know the length of the diagonal of a rectangle add the length of the longer side with half the length of the shorter side, providing the it is made of right angles this will give you the diagonal

SARCASM- Just one of the many services I offer free to the public.

Share on other sites

if you just want to know the length of the diagonal of a rectangle add the length of the longer side with half the length of the shorter side, providing the it is made of right angles this will give you the diagonal

That most definitely will not work. The formula is length=âˆš(widthÂ²+heightÂ²)

http://i.imgur.com/xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Share on other sites

To elaborate on that, rectangles are ALWAYS made of right angles, and the diagonal of any convex quadrilateral will always be shorted than the sum of the two pairs of sides either side of it.

EDIT: I just realised you said HALF the short side, but it still won't work.

EDIT TWO: d= diagonal, w = width, l = length, d = sqrt(w^2 + l^2)

Edited by Rubrica
Share on other sites

To elaborate on that, rectangles are ALWAYS made of right angles, and the diagonal of any convex quadrilateral will always be shorted than the sum of the two pairs of sides either side of it.

EDIT: I just realised you said HALF the short side, but it still won't work.

EDIT TWO: d= diagonal, w = width, l = length, d = sqrt(w^2 + l^2)

Guys, I know how to calculate it.

To add the length to 'Rectangle Select' would be handy.

Like the size of the area of the rectangle in the statusbar (which is easier to calculate, or? ;-)

Share on other sites

You already have a solution though, listed above. Use the Line tool.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

Share on other sites

it got me thru geometry, but ok

SARCASM- Just one of the many services I offer free to the public.

Share on other sites

You already have a solution though, listed above. Use the Line tool.

Needs an undo step, a little bit destructive and risky to use this tool.

I know the next one will ask for the length of the border, or the number of colors in the selection, or...

I'm quite often do measuring the size of an area in an image (1:100 drawings). And I'm happy that pdn shows this value. I'm just missing the distance between two points. And it would be nice to use the same non-destructive tool like for the area. Area size is also a bit special.

As I said, it would just be handy.

Share on other sites

So that there is no misunderstanding.

Destructive in the meaning of 'the tool modifies the image data'.

Share on other sites

You can undo afterwards, or do it on a separate layer and delete the layer later.

http://i.imgur.com/xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Share on other sites

Let's close this.

Share on other sites

We are trying to help you, and all you can say is "let's close this?"

Lose the attitude, and definitely do not tell the moderators how to do their job.

Thread closed at request command of ungrateful jerk.

BY the way, you can also select a transparent color when using the line tool to make your measurements thus preventing the need to undo or use a separate layer.

You're welcome.

http://i.imgur.com/xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!