xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thierry Kormann <tkorm...@ilog.fr>
Subject Re: Creating a PNG with a transparent background
Date Mon, 28 Jan 2002 14:14:31 GMT
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.


To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message