W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [css4-images] Add format() hints to image()

From: Yoav Weiss <yoav@yoav.ws>
Date: Thu, 21 Feb 2013 10:07:51 +0100
Message-ID: <CACj=BEi-_DOQQbvJS7rBngV-4=BrA9fO3FrZvRp1ZMXqpHe4bA@mail.gmail.com>
To: liam@w3.org
Cc: Jake Archibald <jaffathecake@gmail.com>, Henrik Andersson <henke@henke37.cjb.net>, robert@ocallahan.org, Brad Kemper <brad.kemper@gmail.com>, W3C CSS Mailing List <www-style@w3.org>
While I'm not sure mime-types are necessary (they're more verbose than may
be required), this actually allows an author to declare that a certain
image contains several sub-types that may not be supported by the browser.
Let's say for example that JPEG arithmetic coding was supported by some
browsers and JPEG hierarchical coding was supported by others, with some
overlap in their support.
format("image.jpeg", "hierarchical", "arithmetic") would allow an author to
define an image that contains both sub-types, without the need to define
all possible permutations in the spec.

OTOH, I'm not sure such a scenario is a realistic future scenario, and it
might be easier to extend the syntax in the future, if & when that need

On Tue, Feb 19, 2013 at 10:03 PM, Liam R E Quin <liam@w3.org> wrote:

> On Tue, 2013-02-19 at 16:16 +0000, Jake Archibald wrote:
> > The proposed system would allow for, eg, format('webp-progressive'),
> > format('jpeg-smellovision').
> How about, format('image/jpeg', 'smellovision') ?
> --
> Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
> Pictures from old books: http://fromoldbooks.org/
> Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Received on Thursday, 21 February 2013 09:08:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:08 UTC