in reply to Incorporating On-The-Fly Graphics In CGI output

As others have said, you can't directly embed an image from GD. But if you take a step back, your problem is to embed a graph within an html stream. If you are able to construct that graph using SVG, then this can be inlined in the html stream. The problem with this approach is that many (most?) browsers don't support it. --Dave
  • Comment on Re: Incorporating On-The-Fly Graphics In CGI output