DisplayRes

Overview

DisplayRes is a CGI script written in Python to calculate the horizontal and vertical display resolution of a monitor in dpi for a set of common resolutions based on the visible display size.

It is fully template based and comes with an XHTML 1.1 template.

Demo

Try DisplayRes yourself specifying your own display dimensions.
Or take a look at some example values:

Monitors Laptops
CRT LCD
17"Eizo T57S 20"Eizo L887
19"Eizo T766 24.1"Eizo SX2461W 15.5"Lenovo T540p
21"Eizo T966 27"Eizo EV2785
31.5"Eizo EV3237

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Download

DisplayRes source (GnuPG signature)

DisplayRes Debian package (also available from my Debian repository)

Arch

DisplayRes is maintained with the GNU arch revision control system, the archive is signed with my GnuPG key.

Register archive and get configs

tla register-archive http://arch.elho.net/pub/elho@elho.net--displayres
tla register-archive http://arch.elho.net/pub/elho@elho.net--tla-devtools
tla get elho@elho.net--displayres/dists--displayres displayres
cd displayres

Retrieve latest development version

tla build-config head

Retrieve release X.Y

tla build-config release-X.Y

Contact

Please report any bugs to displayres@elho.net.