Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Smallest Java SVG Engine

Tags:

java

svg

batik

What is the smallest Java SVG engine (least/smallest jars) that actually works? If your answer is Batik, what is the minimal dep. graph for getting this to work in a simple Java application?

I've looked at the dependency graph on the Batik site, but it looks like a typical Apache mess. Are there better alternatives?

like image 763
jsight Avatar asked Jan 25 '09 00:01

jsight


2 Answers

SVG Salamander claims to be much smaller thank Batik. It's hard not to believe them. Whether it's as full featured, I can't say, but a co-worker said good things about it.

like image 82
Dave Ray Avatar answered Nov 03 '22 04:11

Dave Ray


Another option is JFreeSVG, the jar file is 45k only (it provides an SVGGraphics2D implementation that is not only small but also fast - see this blog post for details).

like image 37
David Gilbert Avatar answered Nov 03 '22 04:11

David Gilbert