Determine the screen DPI

Bob Sneidar bobsneidar at
Wed Jul 26 14:23:19 EDT 2023

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 mailing list