On Monday 14 January 2002 12:02, Philip Arad wrote:
> Dear all
>
> I would like to use batik to render PNG images, which will
> have a transparent background (such a background that will change
> according to the background color set in the browser).
>
> How do I have to configure my SVG file to supprt tranparency?
> How do I configure the parameters in the Rasterizer in order
> to get the transparency in the generated images.

see the PNGTranscoder and its BACKGROUND* TranscodingHint.
If the rasterizer does not fit your need, it's easy to write your own PNG 
transcoder using the org.apache.batik.transcoder.image.PNGTranscoder class.

Thierry.


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

Reply via email to