cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ans...@tnoo.net (Martin Lüthi)
Subject [SVG] Transparent background of generated PNG
Date Tue, 28 Jan 2003 13:14:01 GMT
Hi

I generate a SVG and serialize it as PNG with transparent background. 
In Mozilla and Konqueror everything looks fine (also an Windows), but in IE
5.0 the background of the PNG is white. Is this a browser-specific problem?
Who can point me to a workaround?

My SVG generating code reads (opacity should be the transparency of the
background):

  <xsl:template match="/">
    <svg width="11" height="9" style="opacity:1.0">
      <circle cx="5" cy="5" r="3.5" style="fill:red"/>
    </svg>
  </xsl:template>

The sitemap entry is:

  <map:match pattern="**dot*.png">
    <map:generate src="docs/empty.xml"/>
    <map:transform src="stylesheets/page/live/svg/dots.xsl"/>
    <map:serialize type="svg2png"/>
  </map:match>

Any help is welcome!

Best, Martin

-- 
Martin Lüthi                 answer@tnoo.net



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message