I'm looking for a way to match the size of the scale shown on the display with the actual size.
Is there a way to detect the pixel pitch of the display?
How to detect the pixel pitch of a display
-
-
Hi,
you mean for getting the physical size?
That's unfortunately not possible, no today system or browser provides these information.
That best thing that could be done is using the user-agent of a mobile-device and looking it up on a device-database that contains the physical screen size.
krpano is doing something similar for the MobileVR/Cardboard support, because for the correct VR display and lens-distortion knowing the correct physical screensize is necessary:
https://krpano.com/plugins/webvr/#mobilevr_database_urlBest regards,
Klaus -
Hi Klaus,
Thank you very much.
I will find out about it.
Yasushi Kumon
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!