After deleting the lines as suggested, and adding the <89>PNG, the image in the viewer is still a black screen.
If I delete the <89>PNG, the file size is zero bytes.
Thanks for your help.
Michael Frey Intel Senior Systems Engineer The Guardian Life Insurance Company of America 3900 Burgess Place, 2-West Bethlehem, PA 18017 E-Mail: Michael_frey at glic.com Phone: 610-807-7889 Fax: 610-807-6003
henrik at hswn.dk (Henrik Stoerner) 12/29/2005 03:20 PM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Larrd graphs not working
On Thu, Dec 29, 2005 at 03:06:02PM -0500, Michael Frey wrote:
After running the commands as you outlined below, the output in file.png
is: Content-type: image/png Expires: Thu, 29 Dec 2005 19:26:06 GMT
If I view the file.png file with a png viewer, it is only a black screen.
You must delete the "Content-type: image/png", the "Expires:..." line, and the blank line. Those lines are headers for the web browser, because the output is supposed to be a web response, and not simply a PNG file.
For the file to be a valid PNG file, it must begin with
<89>PNG
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.