Re: GD, problem adding text to GIF images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg Donald wrote:
> On Thu, 16 Dec 2004 12:27:27 -0700, Vail, Warren <Warren.Vail@xxxxxxxxxx>
> wrote:
>> I believe that is the nature of GIF images, I seem to recall they were
>> very
>> compact but limited to a maximum of 16 colors (or 32 or some number like
>> that[maybe 64]), fewer colors that JPEG.  Anyone know exactly?
>
> gifs are 8bit, 256 colors.

GIFs can have lower than that as well.

You can find the GIF format definition on-line -- It's not *that* tricky
to read and understand, really.

I wrote a GIF parser in Lisp one time.  Damned if I remember why...

Maybe they had no GIF support back then, and I was converting it to a PICT
in Lisp.  [shudder]  I was young and foolish. :-)

Might have been the other way around -- writing a valid GIF from a PICT --
which would have been easier, I reckon, since I could have ignored some of
the complexities I didn't need...

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux