RE: Adaptive images

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