On Thu, 13 Mar 2003, Andrew Bennetts wrote:

> IIRC, gifs are 8 bit (or less).
>
> > i.e. ~ 588 Mb.  So you might need a Gig of RAM to work on them.
>
> So this would be ~196 Mb.  You might still need alot of RAM, though :)

That's an 8 bit pallette size, where each pallette colour can take any 24
bit color value.

So yes a program could store only the 8 bits needed to identify which
colour from the palette is used for a given pixel, but many programs will
expand it out to 24 bits in memory.  Plus scratch memory used in any
transformation which might be substantial as well.  It all depends on the
implementation.

A smart program could do a scaling operation without storing the
original image in uncompressed form at all, and only ever storing part of
the resulting image in uncompressed form.  It would cost a little in
performance, but potentially not very much.

Andrew


------------------------------------------------------------------
Andrew McNaughton                   In Sydney and looking for work
[EMAIL PROTECTED]          http://staff.scoop.co.nz/andrew/cv.doc
Mobile: +61 422 753 792


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to