Re: Image sprites use cases

On Thu, Sep 3, 2009 at 6:26 PM, Boris Zbarsky<bzbarsky@mit.edu> wrote:
> Alex Kaminski wrote:
>>
>> And how this is different from keeping the set of separate images in a
>> .zip package?
>
> One can stick the zip on disk and decode into memory one at a time as
> needed.  There's no memory cost at all for the small images you happen not
> to be using on the current page.
>

You can do exactly the same with a composite image - keep it on disk,
extract sprites into memory one at a time as needed, release memory
taken by the composite image after extraction.

-- 
Alex Kaminski
http://www.activewidgets.com

Received on Thursday, 3 September 2009 16:45:27 UTC