W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2007

Re: Accept- & Content-Resolution headers proposal

From: Nicholas Shanks <contact@nickshanks.com>
Date: Thu, 7 Jun 2007 17:20:02 +0100
Message-Id: <E335C048-9054-4556-B95E-96FD7665404B@nickshanks.com>
To: ietf-http-wg@w3.org
On 7 Jun 2007, at 17:06, Travis Snoozy wrote:

>>  Images served with a Content-Resolution header could have their
>> resolution trusted (most web browsers today display one pixel on
>> screen per pixel in the bitmap, and ignore the image's internal
>> resolution parameter, if one exists).
> This is of concern to HTML and CSS, the former of which I know  
> properly
> handles this with the "width" and "height" parameters in <img> and
> (IIRC) <object>.

I was referring to images outside of HTML, in that instance (where  
the browser doesn't scale).

> Now CSS may need to grow
> some new features (e.g., the ability to replace the contents of an
> <img> or <object> tag; the ability to @include on DPI; etc.), but that
> would still be very much in the problem-space for that technology.

That's already happening, which is why I didn't refer to it. See  
below for why both are preferable to CSS alone.

> I don't see any benefit to putting this information in the
> transport, except for the fact that you could have the server do the
> work instead of the client. IMHO, the appropriate place for all of  
> this
> _is_ the client -- the client knows the most about its presentation
> environment, and the server shouldn't have to know or care about every
> little detail

The reason for putting it in the transport is to reduce bandwidth  
overhead whilst still giving a crisp presentation.
You could send all screen clients the 288dpi version and print  
clients the 4800dpi version of whatever resource it is, but you'd be  
wasting a lot of bandwidth. Also this is needed for all images, not  
just those referred to by CSS or HTML (HTML has no way other than the  
poorly supported LOWSRC attribute to select on resolution anyway)

- Nicholas.

Received on Thursday, 7 June 2007 16:20:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:42 UTC