Hello! I am happily using Batik for a project, and I love it! Thanks for developing such a high quality useful system!

 

I would like to use Batik in two scenarios: rendering svg to png files on the web server (linux/apache/mysql/python/zope, but no java web server per se), and cross platform rendering of interactive svg in the browser (Mozilla and IE and any other browsers supporting Java on Windows, Linux and Mac).

 

I’ve got Batik happily rendering svg to images on the server by invoking the Java vm for each svg file to convert, but that’s quite inefficient. (I’m not programming the server in java, so it’s not easy to just call it directly through the api).

So I would like to set up a separate Batik rendering server process (possibly on another machine), that starts up once and sits around rendering svg files as requested over a socket by the web server (Python running in Zope).

That seems like a straightforward thing to do, which would save lots of time. Has anybody already done that?

 

Also, has anyone tried compiling Batik to native code with any of the Java compilers? What other techniques can I try to make it render as fast as possible?

 

I was hoping to use Adobe’s SVG viewer plug-in, but changes to Mozilla’s plug-in API broke it, Adobe hasn’t bothered to fix the problem, and Mozilla reclassified the bug under “evangelism”.

Fortunately Batik seems to offer an answer to this dilemma. Squiggle is great, but I still need to view SVG files embedded in a regular web browser.

So I would like use Batik as an applet to download svg files to java enabled web browsers and view them with interactive scaling and zooming embedded on a web page.

I’ve seen mention of java applets using the Batik viewer canvas, but I haven’t been able to find any tutorials or sample code to do that.

Is there a file or a web site I should look at, or does it require a bit of Java programming to hook Batik up in an applet, supporting simple pan/zoom/url navigation?

 

Thanks a lot! I really appreciate all you’ve done, and look forward to contributing whatever I can do that other people find useful.

 

            -Don

 

Reply via email to