Re: Feedback on Image modules

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