Batik is a Java(tm) technology based toolkit for applications or applets that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such as viewing, generation or manipulation.

Journal Entries

No entries yet.


Ratings & Reviews

Community Rating
3.8/5.0

Based on 9 user ratings.

Your Rating

Click to rate this project.

3 months ago Avatar
very slow and too much code

    by zipeg

I spent a week reading Batik source code and running experiments with it and profiling it for performance with JProfiler. The results are very pessimistic. Most of the performance loss is in gradient fillers. The fillers are complex by nature and there is no obvious way to optimize them further. SVG Salamander though abandon-ware is about 5-6 times faster and much smaller.

Another thing about Batik is dependencies in the code. Though ... [More] the pictures presented several years ago slice Batik into smaller subsystems (e.g. if you are interested in Rendering only not in hit testing and/or animation) but in reality practical dependencies almost make code monolithic.

I believe it is possible to re-implement SVG in a smaller and much more manageable codebase. I also believe that there is a way to gain at least 5-10 times in rendering performance. Is it is today Batik is not very useful for java UI implementation unless you want to spend ~1 second per icon of startup time... [Less]

Was this review helpful to you? |

Links

No links submitted so far. Submit your own links.


Who uses Apache Batik?

Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32

Who contributes to Apache Batik?

Anon32 Anon32 Anon32 Anon32
I'm a contributor

Where in the world?





Project Cost

This calculator estimates how much it would cost to hire a team to write this project from scratch. More »
Include
Codebase 214,461
Effort (est.) 55 Person Years
Avg. Salary $ year
$ 3,043,456