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 here.
Some example values for the 17" Eizo T57S, 19" Eizo T766, 21" Eizo T966 CRT and 20" Eizo L887, 24.1" Eizo SX2461W, 27" Eizo SX2761W, 29.8" Eizo S3031W LCD monitors.

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.