You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Teck Hua Lee <gt...@gmail.com> on 2010/01/26 00:55:16 UTC

Batik Transcoder jar size

Hi,
I'm creating a custom Batik Transcoder for my own render format.
I just need a static render i.e. I do not need animation, scripting or other
interactivity.

>From my experiments, I need the following jars for my transcoder to work
correctly during runtime. This comes up to about 4MB.
Do you guys have any suggestions on how to reduce the distribution size? Is
there a Batik tiny distro?

Thanks.


   - batik-anim.jar
   - batik-awt-util.jar
   - batik-bridge.jar
   - batik-css.jar
   - batik-dom.jar
   - batik-ext.jar
   - batik-extension.jar
   - batik-gui-util.jar
   - batik-gvt.jar
   - batik-parser.jar
   - batik-script.jar
   - batik-svg-dom.jar
   - batik-transcoder.jar
   - batik-util.jar
   - batik-xml.jar
   - xerces_2_5_0.jar
   - xml-apis-ext.jar

Re: Batik Transcoder jar size

Posted by Helder Magalhães <he...@gmail.com>.
Hi Teck Hua Lee,


> From my experiments, I need the following jars for my transcoder to work
> correctly during runtime. This comes up to about 4MB.
> Do you guys have any suggestions on how to reduce the distribution size? Is
> there a Batik tiny distro?

AFAIK, there isn't a "Batik tiny" distribution . You should be able to
shrink the current one by:
 * Taking a look at the Jar dependency graph [1] (note: outdated!) and
remove the unneeded ones;
 * Use proguard [2] to shrink the Jars. You'll find posts in the
mailing list archives about this and. I'd suggest that, if you take
this path, then you'll share your results afterward. ;-)


> Thanks.

Hope this helps,
 Helder


[1] http://xmlgraphics.apache.org/batik/install.html#dependencyGraph
[2] http://proguard.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org