What are you using to view the PNG? The PNGs produced by Batik are normally transparent without these hints, but if you're trying to view it in IE beware that IE's doesn't support transparent PNGs normally. There's a wierd hackish way to get it to work that you can find here: http://www.alistapart.com/articles/pngopacity/

-Matt

Sunil Puri wrote:

Hi,

t.addTranscodingHint(PNGTranscoder.KEY_BACKGROUND_COLOR, Color.white);
t.addTranscodingHint(PNGTranscoder.KEY_FORCE_TRANSPARENT_WHITE, Boolean.TRUE);


I have tried using these two statements to make a Transparent PNG image from SVG, but it doesn't seem to work even if you change the values from TRUE to FALSE or use some other color.

I will appreciate if anyone could help me to produce Transparent image.



Sunil Puri

_________________________________________________________________
Fretting that your Hotmail account may expire because you forgot to sign in enough? Get Hotmail Extra Storage today! http://join.msn.com/?PAGE=features/es



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




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



Reply via email to