Beamer
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by Beamer
-
-
Sorry, but I mean the top layer is an external image from the server and I want to put that over a colored background.
-
My problem is that the top isn't an image, it's a rectangle button with a bit of transparent pixels which users can choose a color for.
I believe your script is using the ellipse function which was in my example, sorry about that.
[b]EDIT: [/b]I get two errors when trying out: color=ff0000
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in test.php on line 9
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in test.php on line 12
-
I'm pretty new to GD, but I want to make an image that grabs a hex color code from a 'color' string and puts it in the background of an transparent image. For example, I have a transparent circle with a black border. I decide I like it to be blue so I do circle.php?color=0000ff which results in me having a blue circle with a black border. I have tried doing a script with references from PHP.net but I can't get it to work.
Does anyone here have a script or can create one to what I would like it to do?
Cheers,
- B.
GD Problems
in PHP Coding Help
Posted