[PHP] imageColorAllocate problem

2008-06-02 Thread Jo Ann Comito
Hi phpers, I'm having a strange problem. My goal is to be able to generate navigation buttons on the fly. I had this working -- I could pass variable text, size and font information to the php page that generates the image and all worked as expected--png files were created, stored and

[PHP] ImageColorAllocate Problem

2004-07-31 Thread Kevin
Hi there, I am having a problem in ImageColorAllocate function. I am using this function in a loop. After some number of looping the function starts returning -1 value. I am attaching my code below. Can any one help me with this? ?php header(Content-type: image/png); // create a 100*30 image

[PHP] ImageColorAllocate() Problem

2003-10-03 Thread Jed R. Brubaker
I am having a bizzare problem with the imagecolorallocate() function. Maybe all of you can help me! Here is the code: $hex1 = 0x.$color{0}.$color{1}; $hex2 = 0x.$color{2}.$color{3}; $hex3 = 0x.$color{4}.$color{5}; $color = ImageColorAllocate($im, $hex1, $hex2, $hex3); Simple enough! $color

RE: [PHP] ImageColorAllocate() Problem

2003-10-03 Thread Martin Towell
PROTECTED] Sent: Friday, 3 October 2003 4:23 PM To: [EMAIL PROTECTED] Subject: [PHP] ImageColorAllocate() Problem I am having a bizzare problem with the imagecolorallocate() function. Maybe all of you can help me! Here is the code: $hex1 = 0x.$color{0}.$color{1}; $hex2 = 0x.$color{2}.$color{3

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