RE: [PHP] ImageColorAllocate() Problem

2003-10-03 Thread Martin Towell
I think it might be because you're passing a string to the function instead of a hex value... try changing it to this and see if it works $color = ImageColorAllocate($im, hexdec($hex1), hexdec($hex2), hexdec($hex3)); HTH Martin -Original Message- From: Jed R. Brubaker [mailto:[EMAIL

Re: [PHP] ImageColorAllocate() Problem

2003-10-03 Thread Tom Rogers
Hi, Friday, October 3, 2003, 4:23:27 PM, you wrote: JRB I am having a bizzare problem with the imagecolorallocate() function. Maybe JRB all of you can help me! JRB Here is the code: JRB $hex1 = 0x.$color{0}.$color{1}; JRB $hex2 = 0x.$color{2}.$color{3}; JRB $hex3 = 0x.$color{4}.$color{5}; JRB

Re: [PHP] ImageColorAllocate() Problem

2003-10-03 Thread Jed R. Brubaker
Worked perfectly - thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php