SVG rendering

theoryboy

Usenet Archive
Joined
May 12, 2005
Messages
4
Reaction score
0
I'm trying to run a Java application that renders an animated SVG diagram. I have three options to do this:

(i) Use a Java library to render the SVG inside a Swing component. The only library I can find that supports animation is SVGSalamander and I'm having trouble getting it to work. I've Emailed the developer, but does anybody have any alternatives?

(ii) Invoke a browser which renders the SVG using the Adobe SVG plugin. Unfortunately (and this is embarrassing) I can't get Internet Explorer to open SVG animations without complaining aobut blocking ActiveX components. I've tried a wide variety of settings in the security preferences tab but I really can't get it to work. Can anybody help with this?

(iii) Convert the SVG into another animated format, such as animated gif. The best I can find to do this is here:
http://www.treebuilder.de/default.asp?file=43071.xml but I have a lot of SVGs to convert and this looks pretty time consuming.

Any help much appreciated,

Peter
 

Martin Honnen

Usenet Archive
Joined
Apr 8, 2000
Messages
6,174
Reaction score
0
(i) Use a Java library to render the SVG inside a Swing component. The only library I can find that supports animation is SVGSalamander and I'm having trouble getting it to work. I've Emailed the developer, but does anybody have any alternatives?

The next version of the Apache Batik SVG package, including the SVG renderer, is currently under development and SMIL animation support has already been checked in. I think they even provide nightly builds. So depending on your time frame you could start developing with the current development version of Batik and have the application use the new Batik release once it is ready.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

New coder with a focus on animating web banners 0
SVG in HTML 0
MathML to SVG 4
svg question 2
Dynamic SVG with Ruby/Tk 13
Which browsers support svg, and how? 2
XML -> SVG 1
SVG with Java <script> 1

Members online

No members online now.

Forum statistics

Threads
548,049
Messages
3,104,243
Members
248,133
Latest member
DujonT

Latest Threads

Top