house15 has asked for the wisdom of the Perl Monks concerning the following question:
and everything seems to work fine, but when I try to view the results image, the viewer tells me it's not png or that it is corrupted. I opened up the png data in vim and it says PNG at the top so I'm guessing it's corrupted. Also, I used $img->image_type() and the result is png, so my version of GD (2.11) should be supporting it. Any ideas? Thanks, House.open (OUT, "> plot.png"); print OUT $img->draw(); close OUT;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Char::Plot problems
by MidLifeXis (Monsignor) on Dec 31, 2003 at 20:32 UTC | |
by house15 (Initiate) on Dec 31, 2003 at 20:48 UTC | |
Re: Char::Plot problems
by PERLscienceman (Curate) on Dec 31, 2003 at 22:40 UTC | |
by house15 (Initiate) on Jan 05, 2004 at 13:51 UTC |