Funny I mentioned
just yesterday not to confuse
Apache Foundation with the high-profile
Apache HTTP Server Project. I say it's funny because I started looking today at trying out
Tomcat. Once I started surfing around the site, it occurred to me that I never had gotten to testing any of my SVG examples in Batik.
Batik, if you haven't heard of it, is a toolkit for working with SVG in Java. So the funny part is that I kept skipping around the instructions trying to figure out what I would have to do in my
httpd.conf to use this thing. While I'm sure there are lots of ways to use Batik on a server, and I still intend to, it works just fine with the JVM on any old home computer.
After I grabbed Batik 1.6, all I did with it was a simple test with the
rasterizer demo application to render and slice up an SVG image, but Batik ran like a champ. It can't crank out a PNG as fast as Adobe SVG Viewer can pop it up in a browser, but finally it's a simple way to produce a high-quality raster image from an SVG. I've used
ImageMagick and
the Gimp for this now and then but they don't handle SVG lighting filters at all.
SVG on the web is great, but you have to wait for end users to adopt it. With Batik, I can use SVG as a tool in the development chain for any project where I see it fit. I see this in the same way as I see XML in general being applied. There are plenty of sites out there (mine included) using XML and XML-derived languages being used out there behind the scenes. It doesn't have to be delivered to the end user to be useful.
If you want to see how well Batik does then have a look at
these demos - delivered via Java Web Start.
Why don't you show YOUR examples through the Batik Web Start?
See http://esw.w3.org/topic/MarkupValidator/Feedback (find "Batik") for the easy way
Cool. Squiggle takes a while to start up, but once it's running it seems I can go to any of my SVG documents.
I was actually thinking today about what it would take to set up something similar to the Batik demos on my own server (which either isn't the complete Squiggle example or is just locked to their site). It'd just be another experiment, not necessarily something that every surfer would want to use.
[...] Of LAMP, Java and .Net Filed in PHP, Web Development, Programming, Java, Linux [...]
[...] I’ve got a little project I’m working on where I’ve got an XSLT file that produces an SVG image that I subsequently want to rasterize with Batik. There’s also a couple other resources that get built along with that. I’ve used Batik before for this task and I was impressed. The thing is, I had some long command line I’d set up to use it. While I like the fact that I can just type in what I want to do in the case of a one-off project, it bothers me when I have to go back and re-learn how to use a tool because I don’t remember all the parameters that I used. [...]