https://issues.apache.org/bugzilla/show_bug.cgi?id=48693

Helder Magalhães <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Helder Magalhães <[email protected]> 2010-02-08 
04:19:12 UTC ---
(In reply to comment #2)
> If you rasterize a SVG file with the latest SVN version of batik. The 
> resulting
> PNG file cannot open in IE7.

Just tested your attached PNG file in IE6 [1], IE7 [2] and IE8 [3] and it
displays as expected, both stand-alone and when embedding in a Web page. IE6
doesn't display PNG transparency, but this is a know browser limitation. Note
that IE7 also has a few PNG transparency bugs, although in this case nothing is
noticed.

You may be interested in taking a look at the rasterizer options [4], namely
"-bg", which allows you to specify a background color to be used in the export
operation. Note that the PNG rasterizer specifically accepts a special key,
KEY_FORCE_TRANSPARENT_WHITE [5], which allows you to perform an additional
special trick which I'm not sure if it's enabled by default.

I'm assuming that either your IE or Windows may not be updated or something may
be interfering (embedding in a Web page along with a JavaScript framework which
is messing things up, for example).

Please reopen if you can further reproduce. ;-)


[1] Internet Explorer 6.0 on Windows XP SP 3
[2] Internet Explorer 7.0.5730.13 on Windows XP SP 3
[3] Internet Explorer 8.0.6001.188882 on Windows Vista SP2
[4] http://xmlgraphics.apache.org/batik/tools/rasterizer.html#using-binary
[5]
http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/transcoder/image/ImageTranscoder.html#KEY_FORCE_TRANSPARENT_WHITE

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to