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

Re: [whatwg] <picture> / <img srcset> not needed

From: Glenn Maynard <glenn@zewt.org>
Date: Wed, 16 May 2012 17:57:45 -0500
Message-ID: <CABirCh9d8-YV_tfp5s0LHfTjV+-+9_GL9ETmLLuHfySeTb+W1g@mail.gmail.com>
To: Aldrik Dunbar <aldrik@gmail.com>
Cc: whatwg@whatwg.org, "Tab Atkins Jr." <jackalmage@gmail.com>
On Wed, May 16, 2012 at 5:44 PM, Aldrik Dunbar <aldrik@gmail.com> wrote:

> Of course if someone comes up with a progressively loaded image format
> this could be handled much more elegantly.
>

Both PNG and JPEG have had this forever.  (PNG's approach is crude, but
JPEG's is reasonable.)  However, there's no way to control it client-side;
without somehow knowing how many bytes to load for a certain amount of
detail, all you can do is load the whole thing (or make multiple requests,
which is obviously worse).   I've thought about this in the past, but it's
a hard thing to make practical use of.

-- 
Glenn Maynard
Received on Wednesday, 16 May 2012 22:58:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT