[Bioperl-l] Bio::Graphics output to file!
    Jonathan Epstein 
    Jonathan_Epstein at nih.gov
       
    Fri Sep 12 17:29:15 EDT 2003
    
    
  
Make it a binary file would probably help, depending upon the operating system and version of Perl you're using, i.e.
open (IMAGEFILE,">image.png");
binmode IMAGEFILE;
print IMAGEFILE $panel->png;
HTH,
Jonathan
At 11:27 p.m. 9/12/2003 +0300, 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"
>
>?!?!? 
    
    
More information about the Bioperl-l
mailing list