[Bioperl-l] Bio::Graphics transparent background

Nathan Haigh n.haigh at sheffield.ac.uk
Thu Sep 13 11:59:20 UTC 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
>> background.
>>
>> _______________________________________________
>> Bioperl-l mailing list
>> Bioperl-l at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>>   
>>     
>
> Looking at the GD module documentation:
> http://search.cpan.org/~lds/GD-2.30/GD.pm
>
> 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?
>
> Cheers,
> Nath
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>   

I took a look and made a simple change to Bio::Graphics::Panel

Please see the following bug for a patch and explanation:
http://bugzilla.open-bio.org/show_bug.cgi?id=2365

I'd appreciate any comments, especially regarding the method name! If
there aren't any complaints I'll commit it later today.

Nath



More information about the Bioperl-l mailing list