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:23:09 -0700
Cc: Boris Zbarsky <bzbarsky@mit.edu>, Alex Kaminski <activewidgets@gmail.com>, www-style@w3.org
Message-Id: <0DF9E645-D5DE-4E89-8BC9-408CFE84A56E@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

On Sep 6, 2009, at 7:57 AM, Tab Atkins Jr. wrote:

> On Sun, Sep 6, 2009 at 12:39 AM, Brad Kemper<brad.kemper@gmail.com>  
> wrote:
>> Not that I am holding my breath waiting for browsers to support  
>> multi-layer
>> file formats or anything. But it does seem like layers (or frames  
>> in a gif
>> animation file, perhaps) would be well suited for keeping strongly  
>> related
>> and same-size resources like this together and easily accessible  
>> from CSS. I
>> would love to see something like this in an <image> spec, if there  
>> was a
>> multi-layer unencumbered format that compressed as well as, say,  
>> PNGs.
> Of course, that's basically just using the layers as a packaging
> format for the individual images, and is effectively the same thing as
> just zipping them together, modulo some technical details.

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  
Received on Sunday, 6 September 2009 15:23:56 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:39 UTC