Worked perfectly - thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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}.$colo
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 PRO
3 matches
Mail list logo