[Bioperl-l] Bio::Graphics output to file!
Lincoln Stein
lstein at cshl.edu
Wed Sep 17 15:04:16 EDT 2003
You may need to put the filehandle into binary mode with:
binmode(IMAGEFILE);
This happens on Windows systems as well as RedHat systems that are using the
evil RedHat-patched Perl.
Lincoln
On Friday 12 September 2003 04:27 pm, Vesko Baev wrote:
> Hi,
> I created an empty file colled: image.png and wrote in my script:
>
> open (IMAGEFILE,">image.png");
> print IMAGEFILE $panel->png;
>
> The running of a script is OK, but when I open the file with my favorite
> image software I've got the error message: "PNG decoder error", "this is
> not valid png file"
>
> ?!?!?
>
> -----------------------------------------------------------------
> http://club.abv.bg/jsp/abvCard.jsp - Клуб АБВ - дебитна и клубна карта в
> едно ! _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
--
========================================================================
Lincoln D. Stein Cold Spring Harbor Laboratory
lstein at cshl.org Cold Spring Harbor, NY
========================================================================
More information about the Bioperl-l
mailing list