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

Re: Image sprites use cases

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Sun, 6 Sep 2009 12:29:03 -0400
Message-ID: <7c2a12e20909060929x61fa6ca4l89cec7b09c681a2c@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style@w3.org
On Sun, Sep 6, 2009 at 11:43 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
> No more so than any "new" image format, such as gradients (not that layered
> image formats like Photoshop files, TIFF, etc., are particularly new).

It's acceptable if gradients fall back to a solid color, if it affects
a reasonably small percentage of users.  I don't think there's any
acceptable general fallback for image sprites.  Showing the first
image surely isn't very useful in general -- most sprites I've seen
contain a number of unrelated images.  The proposed archive-based
solution has excellent fallback: a slight performance hit, nothing
else.

There's no reason you couldn't write a Photoshop plugin that lets you
edit an archive file all at once, if you felt like it.  If you cared
about fallback, you'd then have to extract it in place when you upload
the new version.  Seems like no big deal.
Received on Sunday, 6 September 2009 16:29:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:21 GMT