mrflix/dimensions

Measure max width/height

fnogatz opened this issue · 6 comments

It would be nice if one could measures the maximum width and height of an object, e.g. to get the diameter of the circles at the Extension's website. For example one could compute the maximum of all measured widths and heights while holding a key. In this way you can hold the key and draw a small circle with your mouse within the circle element, to surely cover the diameter.

Falco thats a great idea! And not too hard to accomplish using flood-fill.

I tested it out and i think its a great feature saving even more time. check it out yourself: Dimensions next (activate with alt).

The challenge is that if the area is too big it will take a very long time to measure. Because of that I currently limit the area to 500.000 square pixels.

Great! And the first time I saw the unit "square pixels" ;)

Unfortunately it feels a little bit laggy if you hold alt and move the cursor. Maybe you could trigger the measurement holding alt only then if the mouse is not moving?

well, you could just stop pressing the alt button :D
do you really think this is a use case?

On 15 Sep 2014, at 17:32, Falco Nogatz notifications@github.com wrote:

Great! And the first time I saw the unit "square pixels" ;)

Unfortunately it feels a little bit laggy if you hold alt and move the cursor. Maybe you could trigger the measurement holding alt only then if the mouse is not moving?


Reply to this email directly or view it on GitHub.

Hm, was only confused to have lost the crosshairs for a while when holding alt and and move the mouse. But of course, one could simply stop doing this :P

Added in version 2 - live now. Press ALT.