Hi Guillaume, "Guillaume Rosauro" <[EMAIL PROTECTED]> wrote on 05/23/2007 08:54:06 AM:
> I am quite lost with Batik and specially with filters. > I try to add a filter after a drawImage but I do not think that's > the right way to achieve this. What should I do ? Unfortunately it is difficult to mix SVGGraphics2D drawing with manual manipulation of the DOM (like adding a filter). The best you can do is call 'svgGraphics.getRoot()' and walk the returned DOM tree to find the 'last' graphic element (in your case an svg:image element). Once you have that you can add your 'filter' attribute. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
