Hi,

I'm wondering that is the simplest way to change SVG into Java Image.

I will need to change XML fragment (one of org.w3c.dom.svg.SVGElement returned
from org.w3c.dom.events.Event.getTarget()) into java.awt.Image
In most cases the produced Image will be kind of Icon for element. I don't need
to save it in any format, I will use it in other swing components.

I was looking at org.apache.batik.transcoder and one way I see, is to implement
my own ImageTranscoder, TranscoderInput and TranscoderOutput
However maybe there are some ready classes that could help me to do part of this
job, or maybe there is some other place in Batik I should look for solution for
this.

Best regards
Arek


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

Reply via email to