[Bioperl-l] Bio::Graphics Resolution

Chris Fields cjfields at uiuc.edu
Thu Sep 13 08:46:02 EDT 2007


Print to SVG instead of PNG (should be resolution-independent); I use  
Illustrator to fine-tune it but there are several other programs  
which can do the same.  You'll need to install GD::SVG for it to work.

The alignment example I posted previously about (http:// 
www.bioperl.org/wiki/HOWTO_Discussion:Graphics) shows essentially  
what you need to do:

my $panel = Bio::Graphics::Panel->new(
     -image_class => 'SVG',
     # and whatever else
);

# later...

print $panel->svg;

chris

On Sep 13, 2007, at 7:26 AM, Nathan Haigh wrote:

> I want to be able to print my Bio::Graphics image on a poster with  
> good
> resolution. What can I do to ensure I don't get blocky graphics/text.
>
> Altering the width/height of the panel simple increases the size of  
> the
> canvas on which to draw the image, but the text appears the same size
> and thus relatively smaller to the rest of the image. So I don't think
> this would work for printing on a poster.
>
> Cheers,
> Nath
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l

Christopher Fields
Postdoctoral Researcher
Lab of Dr. Robert Switzer
Dept of Biochemistry
University of Illinois Urbana-Champaign





More information about the Bioperl-l mailing list