Search code examples
javasvgwatermarkbatik

Batik Rasterizer logo watermark remove from genereated image


Anyone know how to remove the Batik logo from the generated images? I'm trying the examples on their page http://xmlgraphics.apache.org/batik/tools/rasterizer.html

This is the source svg image https://bitbucket.org/llythiumn/cmput206/src/912d7681375d/batik-1.7/samples/barChart.svg?at=Ian2

This is the Java line I'm running to convert the svg to a png image java -jar batik-rasterizer.jar -m image/png samples/barChart.svg

And this is what the generated image looks like with the logo at the bottom http://svn.apache.org/repos/asf/xmlgraphics/batik/tags/batik-1_0beta2/test-references/samples/barChart.png

Perhaps its simple but I just can't find the option to remove it. Any suggestions would be appreciated.


Solution

  • The watermark is in the source image. If you don't supply a source image with a watermark you won't get one in the output.