Re: [svg-developers] Re: Using Batik - can I add a buffer zone

2008-11-13 Thread Mark Elliott
Thanks worked a treat From: Frank Bruder [EMAIL PROTECTED] To: svg-developers@yahoogroups.com Sent: Wednesday, 12 November, 2008 23:38:09 Subject: [svg-developers] Re: Using Batik - can I add a buffer zone Use the -a, -w, and -h options of the rasterizer

[svg-developers] Re: Using Batik - can I add a buffer zone

2008-11-12 Thread Frank Bruder
Use the -a, -w, and -h options of the rasterizer. If, for example, the image has a viewBox of 0 0 300 400 and you need 10 units offset, your command could be java -jar batik-rasterizer.jar -m image/jpeg -a -10,-10,320,420 -w 320 -h 420 -bg 255.255.255.255 mygraphic.svg --- In