cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <its_toas...@yahoo.com>
Subject Re: [SVG] Transparent background of generated PNG
Date Tue, 28 Jan 2003 06:32:51 GMT
Yes, this is a browser-specific problem.

For a review on this, please see the following links:

http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/filter/reference/filters/AlphaImageLoader.asp

Welcome to the Microsoft-specific way of doing things.

/mde/
just my two cents . . . .

--- Martin_Lüthi <answer@tnoo.net> wrote:
> 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>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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