Re: [PHP] problem with imagecolorsforindex()

2001-01-24 Thread Richard Lynch
> I have this code in a php script, which takes all pixels from a PNG image > and produces a second "image" > with random numbers in HTML format this time. (an example can be found at > http://www.cyprusnews.org/sub/prog2.php). > > Instead of getting ALL shades of red from the pallette, I get onl

[PHP] problem with imagecolorsforindex()

2001-01-24 Thread Subbie Mitsman
Hello, I have this code in a php script, which takes all pixels from a PNG image and produces a second "image" with random numbers in HTML format this time. (an example can be found at http://www.cyprusnews.org/sub/prog2.php). Instead of getting ALL shades of red from the pallette, I get only 8