Hi Kevin, On Feb 21, 2012, at 1:40 PM, Kevin POCHAT <kpoc...@gmail.com> wrote:
> Hi Thomas, > > Thank you for your answer. > In the meantime, I stumbled upon SVG Salamander, another SVG lib for Java, > that is way featureless, and way lighter, than Batik. Ok, hope it works out for you. > On another subject (well, not really another), I'd like to integrate filters > and bitmaps (PNG) within my SVG documents (embed the PNG contents, not a href > link), but Inkscape doesn't seem to support that. Do you know if there's > another (free) editor that allows that. I'd be surprised if Inkscape didn't support embedded bitmaps. > I don't even know if bitmap embedding is possible with SVG. Yes it is. You use an image element with an xlink:href that uses the 'data:' protocol. Thomas DeWeese > 2012/2/21 Thomas DeWeese <thomas.dewe...@gmail.com> > Hi Kevin, > > On Feb 18, 2012, at 12:51 PM, Kevin POCHAT <kpoc...@gmail.com> wrote: > >> Could you guide me towards such an API, or code example ? I really get lost >> in the tremendous amount of batik classes, and I hate the genericity of >> Node/NodeList/Element/Document type of classes. > > Sure the various parser implementations generally start with AWT since they > produce geom elements from AWT. > > http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/parser/AWTPathProducer.html#createShape(java.io.Reader,%20int) > >> >