Re: gd can handle only 256 colors?

From: Date: Wed, 20 Dec 2000 17:08:59 +0000
Subject: Re: gd can handle only 256 colors?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31251@lists.php.net to get a copy of this message
On Wed, 20 Dec 2000, Padmlin wrote: > Am I correct? GD can only handle up to 256 colors? If a graph has more > than 256 colors, after it is processed by gd (or any image function by > PHP), only 256 colors are preserved. AFAIK gd works with gif's and this format is limited to 8bit color depth, maybe you should try to generate png images which (I think) use 24 or 32 bits instead of gif. > > > DerChung Tom Lin > (440) 646-1525 > padmlin@msn.com > --- Sistemes - DRAC telemàtic --------------------- c/ Transversal 226 - 08225 Terrassa Tel: +34 93 736 48 30 mailto:david@drac.com ----------------------------------------------------

« previous php.general (#31251) next »