RE: [PHP] Re: php and colors

From: Date: Tue, 08 Apr 2003 03:21:52 +0000
Subject: RE: [PHP] Re: php and colors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142782@lists.php.net to get a copy of this message
shouldn't that be 255? > -----Original Message----- > From: Mike Mannakee [mailto:mike@basementideas.com] > Sent: Monday, April 07, 2003 11:19 PM > To: php-general@lists.php.net > Subject: [PHP] Re: php and colors > > > RGB value for red = 256,0,0. > > Mike > > > "Joe111" <liberache@hot.ee> wrote in message > news:20030407194102.34622.qmail@pb1.pair.com... > > i want to put red text on a black-and-white picture with php. i am using > > imagecreatefrompng() > > i have usually found the color with ImageColorAllocate() but on a > > black-and-white picture there is no red so the script fails. > > could somebody please help me solve this problem? maybe give me > a hint on > > another function. > > thank you > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#142782) next »