Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A suggestion for improving the display ruler - metric units #27394

Closed
tshiao4695 opened this issue Jul 13, 2023 · 5 comments
Closed

A suggestion for improving the display ruler - metric units #27394

tshiao4695 opened this issue Jul 13, 2023 · 5 comments
Labels
Idea-Enhancement New feature or request on an existing product Product-Screen Ruler Refers to the Screen Ruler PowerToy Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete.

Comments

@tshiao4695
Copy link

Description of the new feature / enhancement

I hope the pixel ruler can automatically convert the metric size when I am measuring a certain image on the monitor. It would be great if the computer could automatically recognize the size and resolution of the monitor and do the calculations without me having to manually enter the parameters. And it would be even better if the ruler for the microscope could also be simplified for ease of use.

Scenario when this would be used?

Used for calibrating microscopes and measuring one-to-one photos for e-commerce.

Supporting information

none

@tshiao4695 tshiao4695 added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jul 13, 2023
@e-t-l
Copy link
Contributor

e-t-l commented Jul 27, 2023

To generalize this enhancement, giving the screen ruler the option to display measurements in distance units (i.e. millimeters, inches) in addition to pixels would be extremely useful.

I believe it would require knowing not necessarily the screen resolution in terms of absolute pixel dimensions, but specifically the screen's pixel density in ppi. I'm not sure off the top of my head if this is a value that can be accessed programmatically, or whether users may have to find the number manually and enter it as a parameter. Frankly, either scenario would be perfectly acceptable.

@TheJoeFin TheJoeFin added Product-Screen Ruler Refers to the Screen Ruler PowerToy Idea-Enhancement New feature or request on an existing product labels Jan 31, 2024
@crutkas crutkas removed the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label May 3, 2024
@crutkas
Copy link
Member

crutkas commented May 3, 2024

this won't be prefect if added. there would be a lot of detail needed to be known about the device like @e-t-l referenced

@Sophanatprime
Copy link
Contributor

Some Win32 APIs can get a monitor's logical size in pixels and its real size in millimeters. Hence we can convert pixels to millimeters and vice versa. I wrote a prototype for this https://gist.github.com/Sophanatprime/3b93b2c5fd6f70313e1da13fa2f7a495. I believe it solves the problem referenced by @e-t-l. @crutkas

@crutkas
Copy link
Member

crutkas commented Nov 10, 2024

@Sophanatprime would this be a feature you’d like to implement? Seems like you know what to do.

@Sophanatprime
Copy link
Contributor

OK, I will try to implement it.

@jaimecbernardo jaimecbernardo added the Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. label Dec 5, 2024
@jaimecbernardo jaimecbernardo added this to the PowerToys 0.87 milestone Dec 5, 2024
@cinnamon-msft cinnamon-msft added Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete. and removed Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Product-Screen Ruler Refers to the Screen Ruler PowerToy Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete.
Projects
Status: Done
Development

No branches or pull requests

7 participants