March 16, 2011

How to determine DPI of a screen by resolution in pixels and screen size

Given:
Screen resolution in pixels (w*h)

Screen size in inches (d - diagonal)

DPI = sqrt(w*w+h*h)/d



No comments: