W3C home > Mailing lists > Public > www-style@w3.org > December 2010

Re: Feedback on Image modules

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 17 Dec 2010 16:59:45 -0800
Message-Id: <B8F7696E-603B-43BC-9F78-9D859D7ADB1D@gmail.com>
Cc: Anthony Ricaud <anthony@ricaud.me>, Anne van Kesteren <annevk@opera.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
To: Charles Pritchard <chuck@jumis.com>
On Dec 17, 2010, at 3:29 PM, Charles Pritchard <chuck@jumis.com> wrote:

> Mainly, we use it when a resource can't be found/connected to: but I'm sure we'll also
> be adding in logic for conditional support of the new WebP format.
> As most of us know, "guessing" on an image format based on the extension is not workable--
> until/unless the extension has already been fetched, or peeked at via HEAD, for a mime content type.

Is isn't good for selecting formats you do support, but isn't it still helpful for eliminating those you don't support? For instance, you could peek further for '.php', but not bother to do so for '.psd' if you know you won't support Photoshop files.  
Received on Saturday, 18 December 2010 01:00:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:54 UTC