Re: GD, problem adding text to GIF images

From: Date: Fri, 17 Dec 2004 17:31:50 +0000
Subject: Re: GD, problem adding text to GIF images
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-204608@lists.php.net to get a copy of this message
Greg Donald wrote: > On Thu, 16 Dec 2004 12:27:27 -0700, Vail, Warren <Warren.Vail@schwab.com> > 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

« previous php.general (#204608) next »