W3C home > Mailing lists > Public > www-style@w3.org > September 2009

Re: Image sprites use cases

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sun, 6 Sep 2009 08:43:13 -0700
Cc: www-style@w3.org
Message-Id: <5CFD6643-3309-4ABE-8372-EC4687CC5E49@gmail.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

On Sep 6, 2009, at 8:28 AM, Boris Zbarsky wrote:

> Brad Kemper wrote:
>> Good. Let's do it then, It would be much more convenient to be able  
>> to store and edit it as a single file, without having to export  
>> each layer individually with a separate file name, and then refer  
>> to a separate file name for each in CSS. That's also part of the  
>> appeal of sprites.
> It would also have the drawback of not being backwards-compatible  
> and not degrading particularly gracefully, right?

No more so than any "new" image format, such as gradients (not that  
layered image formats like Photoshop files, TIFF, etc., are  
particularly new). If it used an existing multi-frame (rather than  
multi-layer) format, such as animated GIF, then it could be set to  
repeat zero times and only show the first frame.

If it was something newer, like animated PNG, or multi-layer PNG, then  
it might be even better, showing up as the first layer/frame in UAs  
that didn't support it, and editable via some sort of plug-in for  
Received on Sunday, 6 September 2009 15:54:21 UTC

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