W3C home > Mailing lists > Public > public-html@w3.org > May 2011

RE: Adaptive images

From: Leonard Rosenthol <lrosenth@adobe.com>
Date: Tue, 31 May 2011 07:28:22 -0700
To: Henri Sivonen <hsivonen@iki.fi>
CC: Karl Dubost <karld@opera.com>, "public-html@w3.org" <public-html@w3.org>
Message-ID: <D23D6B9E57D654429A9AB6918CACEAA98064C20D7C@NAMBX02.corp.adobe.com>
Because alternates are _NOT JUST_ about resolution - they can also be completely different images based on layout.  For example, the image that I want to show in portrait may not be the same as the one that I show in landscape - so I would have both versions in the documents.  

Leonard

-----Original Message-----
From: Henri Sivonen [mailto:hsivonen@iki.fi] 
Sent: Tuesday, May 31, 2011 7:09 AM
To: Leonard Rosenthol
Cc: Karl Dubost; public-html@w3.org
Subject: RE: Adaptive images

On Tue, 2011-05-31 at 06:48 -0700, Leonard Rosenthol wrote:
> Correct.  And that's fine for web/server-hosted content.
> 
> However, consider an EPUB3 file where there is no negotiation going on.  So you'd (most likely) need something in the <img> tag that would list the alternatives and then have those connected (via id/name) to CSS queries so the UA would know which one to pick.

If you've transferring the whole epub bundle to the end user anyway, why
bother having multiple versions of images instead of having a high-res
image and letting the client downsample? Are you optimizing client CPU
and RAM use instead of the epub bundle size?

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/


Received on Tuesday, 31 May 2011 14:29:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:25 UTC