#388 Translucency support for GD::SVG

open
Todd Harris
Gbrowse (196)
5
2012-04-23
2012-04-23
Scott Cain
No

Is this a problem of translucency support? Originally reported by Owen Marshall.

PNG export gives the expected outcome as well. However, if I try to export as SVG or PDF (the really useful export options!) I only see the non-xyplot tracks I have in the resulting file (genes and regulatory regions tracks) -- all xyplot tracks are missing.

Looking at apache2's error.log, it seems as though rendering of the data in GD::SVG is causing the issue:

GD method saveAlpha is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method fill is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
RenderPanels error: Can't use an undefined value as an ARRAY reference at /usr/local/share/perl/5.14.2/GD/SVG.pm line 1120.
GD method saveAlpha is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method saveAlpha is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method fill is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method fill is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method saveAlpha is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method saveAlpha is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method fill is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method fill is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method saveAlpha is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method fill is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method alphaBlending is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
GD method clip is not implemented in GD::SVG at /usr/local/share/perl/5.14.2/GD/SVG.pm line 196.
RenderPanels error: Can't use an undefined value as an ARRAY reference at /usr/local/share/perl/5.14.2/GD/SVG.pm line 1120.

These errors repeat over and over. Am I doing something wrong here, or is this a known issue with GBrowse2? GD::SVG is at the lastest version according to CPAN (0.33); GBrowse is version 2.42 from the Ubuntu repositories.

Discussion