[Bioperl-l] Bio::Graphics transparent background
n.haigh at sheffield.ac.uk
Thu Sep 13 07:59:20 EDT 2007
Nathan Haigh wrote:
> Kevin Brown wrote:
>>> Is it possible to set the bg colour of glyphs and the panel
>>> background to be transparent? If so, which output formats
>>> support transparency?
>> Not sure if you can, but SVG, PNG, Gif all support a transparent
>> Bioperl-l mailing list
>> Bioperl-l at lists.open-bio.org
> Looking at the GD module documentation:
> It appears that you can set a colour as being transparent - so I think
> it should be possible to get Bio::Graphics to do this = may require some
> code to be written. Any one got ideas?
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
I took a look and made a simple change to Bio::Graphics::Panel
Please see the following bug for a patch and explanation:
I'd appreciate any comments, especially regarding the method name! If
there aren't any complaints I'll commit it later today.
More information about the Bioperl-l