Hi,

> I've been using Batik very successfully to generate raster thumbnails of SVG
> images for a web application.
> A recent change to a beige background on the web site revealed to me that
> the PNG raster images did not have transparent backgrounds (the SVG images
> do correctly display with transparent backgrounds with Adobe plugin).
> I've read through the source for Rasterizer and the PNG encoder classes, but
> it's not apparent how I can get tranparency working.
> Can anyone point me in the right direction?

As far as I know, batik PNG Transcoder support alpha channel correctly,
however, some image viewer/browser doesn't support it. There is an
option on PNG Transcoder KEY_FORCE_TRANSPARENT_WHITE which you can set
during transcoding to workaround this problem. 

Please keep in mind that using Force Transparent White option the result
image will display differently over a white background in a viewer that
supports transparency. 

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to