Page 1 of 1

php codes

Posted: Fri Oct 21, 2005 2:04 pm
by elecktricity
hello, I was just wondering if it was possible to have a php page that colored different parts of an image using variables... might be a bit confusing so how about this:

http://site.com/images.php?ball=000000

and an image with a transparent ball that fills the ball with the color black

Posted: Fri Oct 21, 2005 2:42 pm
by foobar
Use GD.

Posted: Fri Oct 21, 2005 7:29 pm
by elecktricity
dont think it's there, I will look through it again, but im trying to replace a color in the image or like fill part of the image with a color, if you get what I mean

Posted: Fri Oct 21, 2005 9:36 pm
by feyd
if you don't have GD, you would need to either get your host to install it or find a php "native" solution that can read and write graphics along with have, at minimum, accessors to the pixels for adjusting them...