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

Glenn Maynard glenn at zewt.org
Wed May 16 15:57:45 PDT 2012


On Wed, May 16, 2012 at 5:44 PM, Aldrik Dunbar <aldrik at 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



More information about the whatwg mailing list