Re:Retina.js: Retina graphics for your website
by jentulman on Friday April 20, 2012 @10:22AM
(#3867973)
Headers do seem the best place for a non vendor specific standard to be set. I'd love to see something like
viewport-dpi - the dpi viewport-max - the maximum possible pixel dimension and possibly viewport-current - the pixel dimensions at the time of the request
Decent responsive design should deal with the differing viewport sizes, but it might be nice to get a hint before delivering your page what direction to weight that response in.
Re:Retina.js: Retina graphics for your website
by Groxx on Friday April 20, 2012 @11:56AM
(#3868423)
What do you do when using a projector, and your DPI is something like 3? (serious question, I don't know how this is traditionally handled)
Re:Retina.js: Retina graphics for your website
by kijin on Friday April 20, 2012 @01:23PM
(#3868865)
Something like device-pixel-ratio would be more useful than DPI. Raw DPI is meaningless unless you take distance into account, as is very clear in the case of the projector.
Re:Retina.js: Retina graphics for your website
by nextparadigms on Friday April 20, 2012 @01:48PM
(#3868967)
Would this work better over WebP?
For JPEG 2000, the network characteristics are important, but I don't think it would be too bad on a mobile network. Low DPI devices might get a bit "too much", but it wouldn't be a problem - they can just throw it out (or incorporate more detail).