cocoon-users mailing list archives

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

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

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

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"/>

Any help is welcome!

Best, Martin

Martin Lüthi       

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message