W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] Defaulting new image solution to 192dpi

From: Kornel Lesiński <kornel@geekhood.net>
Date: Thu, 17 May 2012 13:05:38 +0100
To: "Andy Davies" <dajdavies@gmail.com>
Message-ID: <op.wegbvoh9te2ec8@aimac.local>
Cc: whatwg <whatwg@whatwg.org>
On Thu, 17 May 2012 12:52:47 +0100, Andy Davies <dajdavies@gmail.com>  

>> My suggestion is that the srcset (or <picture>) should assume that  
>> images are "2x" scale by default.
> Doesn't this makes the assumption that pixel density is the most
> likely reason for needing the alternative image rather than viewport /
> image dimensions?

Those two cases are orthogonal — one doesn't exclude the other, and I'm  
not claiming that it solves the "art-directed" case.

In fact, even if you have adaptive cropping of the image, you'd still want  
image resolution to match display's DPI, e.g.

obama-face@2x.jpg vs obama-with-audience@2x.jpg

and possibly negotiate on both axes at the same time:

obama-face@2x.jpg vs obama-with-audience@2x.jpg vs
obama-face@1x.jpg vs obama-with-audience@1x.jpg

regards, Kornel Lesiński
Received on Thursday, 17 May 2012 12:07:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC