Jump to content

Beamer

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by Beamer

  1. 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
  2. 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.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.