Re: ##%@%!! GD - ImageColorAllocate

From: Date: Wed, 27 Dec 2000 17:21:43 +0000
Subject: Re: ##%@%!! GD - ImageColorAllocate
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-31978@lists.php.net to get a copy of this message
Yeah that's the odd part. It works fine on a plain white background, but when I create an image from a different one it dies. I even used valid colors in the pallet... go figure. --Joe On Mon, Dec 25, 2000 at 07:34:41PM -0600, Richard Lynch wrote: > Is $im a valid image?... > > ----- Original Message ----- > From: Joe Stump <joe@earth.care2.com> > Newsgroups: php.general > Sent: Friday, December 22, 2000 7:59 PM > Subject: [PHP] ##%@%!! GD - ImageColorAllocate > > > > Ok if someone can tell me why this isn't working I'll give them a cookie. > > > > $black = ImageColorAllocate($im,28,25,33); > > $black = ImageColorAllocate($im,0,0,0); > > > > both return -1 and thus print out WHITE lettering - ideas? > > > > --Joe > > > > > > --- > > Joe Stump > > PHP Programmer > > www.Care2.com > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net --- Joe Stump PHP Programmer www.Care2.com

« previous php.general (#31978) next »