On Tuesday 02 January 2007 10:49, Sean Wheller wrote:
> On Monday 01 January 2007 03:22, [EMAIL PROTECTED] wrote:
> > As the SVG specification says they should.  The Width/Height say
> > what size canvas the document should be drawn into.
>
> So perhaps the only thing to do is open each SVG, adjust the canvas to the
> required size. Well ... until I can get some time to automate the process.

It seems that setting the canvas size smaller is not the solution. Batik still 
renders an image with a huge amount of wasted space.

So while the SVG is set
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/";
   xmlns:cc="http://web.resource.org/cc/";
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
   xmlns:svg="http://www.w3.org/2000/svg";
   xmlns="http://www.w3.org/2000/svg";
   xmlns:xlink="http://www.w3.org/1999/xlink";
   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd";
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
   width="452.64005pt"
   height="320.53pt"
   id="svg2"
   sodipodi:version="0.32"
   inkscape:version="0.43"
   sodipodi:docbase="/home/sean/work/ericsson/docs/trunk/images"
   sodipodi:docname="hxc-block.svg"
   version="1.0">"

The resulting PNG file is
1886x1336 pixel
-- 
Sean Wheller
Technical Author
email: [EMAIL PROTECTED]
im: [EMAIL PROTECTED]
skype: seanwhe
cel: +27-84-854-9408
web: http://www.inwords.co.za

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

Reply via email to