Re: Probleme with imageColorAllocate function

From: Date: Wed, 12 Jul 2000 21:08:22 +0000
Subject: Re: Probleme with imageColorAllocate function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6274@lists.php.net to get a copy of this message
In article <3969E5C4.35003A8F@bigfoot.com>, pascal.leboucher@bigfoot.com (pascal leboucher) wrote: > $i_color = imageColorAllocate($small_img_id, $red, $green, $blue) ; > > If somebody knows why after one or two loop $i_color is > always equal to -1, I'm pretty interested by his solution ! Is it possible that all the possible colors are used up? I'm guessing you may need to change the bit-depth of the image or something... I haven't actually used GD, but that's my best guess. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#6274) next »