Dear
Thomas,
If anne.svg
is:
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 450 500">
</svg>
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 450 500">
</svg>
as you suggest, then
when I run.
java -jar batik-rasterizer.jar anne.svg
produces:
About to transcode 1
SVG file(s)
Converting anne.svg
to anne.png ... org.apache.batik.transcoder.TranscoderExcept
ion: null
Enclosed Exception:
Width (0) and height (0) cannot be <= 0
at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown S
ource)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown S
ource)
at org.apache.batik.apps.rasterizer.SVGConverter.transcode(Unknown Sourc
e)
at org.apache.batik.apps.rasterizer.SVGConverter.execute(Unknown Source)
ion: null
Enclosed Exception:
Width (0) and height (0) cannot be <= 0
at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown S
ource)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown S
ource)
at org.apache.batik.apps.rasterizer.SVGConverter.transcode(Unknown Sourc
e)
at org.apache.batik.apps.rasterizer.SVGConverter.execute(Unknown Source)
at
org.apache.batik.apps.rasterizer.Main.execute(Unknown
Source)
at org.apache.batik.apps.rasterizer.Main.main(Unknown Source)
... error (SVGConverter.error.while.rasterizing.file)
at org.apache.batik.apps.rasterizer.Main.main(Unknown Source)
... error (SVGConverter.error.while.rasterizing.file)
It sounds to me
like using the latest CVS may change this, is that
right?
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
