in reply to Re: cannot view png file from Graph::GD module
in thread cannot view png file from Graph::GD module

Hi Monk, Actually after playing with the image for a while I found that the "Save Image" is actually saving my HTML from the form from previous page which invokes the Graph. So, actually save image is not saving a png file. Any clues to what I am doing wrong? Also, is this a perl GD limitation? Thanks for any suggestions. Regards, Rakhee
  • Comment on Re^2: cannot view png file from Graph::GD module

Replies are listed 'Best First'.
Re^3: cannot view png file from Graph::GD module
by Anonymous Monk on Apr 08, 2010 at 01:52 UTC
    the "Save Image" is actually saving my HTML

    So you're trying to debug your browser "Save Image" functionality? Wrong forum.

      Since I am using Perl GD to output a png image, is this still a browser issue? Browser(both IE and Mozilla) plot the graph, so they recognize the png format? I am sure I am missing something in the perl GD module. Regards, Rakhee

        rakheek:

        Once the image is displayed in the browser, I fail to see how a problem with "save image as" in the browser's menu could be perl's fault...

        ...roboticus

        To be brutally honest: reality doesn't care how confident you are in what you believe.

        1. Your perl script created a valid PNG.
        2. Your perl script delivered the PNG file to where the browser could find it.
        3. Unless you wrote your web browser in Perl, the problem is not in your Perl code!