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 dis
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?
Thanks for reading this far.
Kevin.
--
PHP General Mailing Lis
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
EMAIL 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
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! $colo
That's because it was originally designed for gif's.
Gif's only have a 256 color palette..
> -Original Message-
> From: Dan Harrington [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 12, 2001 12:30 PM
> To: Matt McClanahan
> Cc: [EMAIL
TED]]
Sent: Monday, February 12, 2001 10:16 AM
To: Dan Harrington
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] imagecolorallocate / imagesetpixel / palette size?
On Sun, Feb 11, 2001 at 01:40:11AM -0700, Dan Harrington wrote:
(snip)
> Its like the "palette" only holds 256 pixels or somet
On Sun, Feb 11, 2001 at 01:40:11AM -0700, Dan Harrington wrote:
(snip)
> Its like the "palette" only holds 256 pixels or something, what's
> the deal with that?
>
> Anyone experienced this before? I've looked through the GD library
> documentation
> at boutell.com, i've looked through php.net,
Here is something weird going on. Why is it that imagecolorallocate dies
after 256 colors have been allocated? Note, this doesn't matter if
you write a jpg or png, it all produces the same result (see attached
graphic).
Yes, the colors are randomly made, and they all go in a straight, diagonal
Hello everyone,
Alright, what's wrong with this script? I just get one big blank image.
I want the script to sequentially pull up each pixel off the template image,
and copy them pixel by pixel to the second image.
Actually, what I want to do is to process the pixels BEFORE I write them,
but th
11 matches
Mail list logo