Determine the screen DPI
bobsneidar at iotecdigital.com
Wed Jul 26 14:40:35 EDT 2023
NVM. Apparently it depends on several things, including manufacturer, OS, scaling etc.
> On Jul 26, 2023, at 11:23 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi all.
> I am trying to convert size in inches to size in pixels given a certain monitor in use. To do that I need to obtain the DPI of the current monitor. So for example let’s say I want to set the card size to 4x6 in inches. The monitor may be 72 dpi, 96 dpi or something else depending on the resolution. Is there an LC way to do this, or will I have to use terminal to grok it?
> Bob S
More information about the use-livecode