29 Dec
2005
29 Dec
'05
8:20 p.m.
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