Apache Batik
Batik is a pure-Java library that can be used to render, generate, and manipulate SVG graphics. IBM supported the project[citation needed] and then donated the code to the Apache Software Foundation, where other companies and teams decided to join efforts. Batik provides a set of core modules that provide functionality to:
- Render and dynamically modify SVG content,
- Transcode SVG content to some raster Graphics file formats, such as PNG, JPEG and TIFF,
- Transcode Windows Metafiles to SVG (WMF or Windows Metafile Format is the vector format used by Microsoft Windows applications),
- And manage scripting and user events on SVG documents.
The Batik distribution also contains a ready-to-use SVG browser (called Squiggle) making use of the above modules.
The name of the library comes from the Batik painting technique.
Status
[edit]Batik was long the most conformant existing SVG 1.1 implementation,[1] with the 1.7 version passing almost 94% of the W3C SVG 1.1 tests, which at the time was just a small fraction behind Opera in SVG conformance.[2] Today all the major web browsers support SVG 2 while Batik remains on 1.1.
Version 1.7, made available on January 10, 2008, had an "almost full" implementation of the current state of the sXBL specification,[3] a nearly complete implementation of SVG declarative animation SMIL features, and some of the SVG 1.2 late October 2004 working draft, although that version of SVG was dropped for SVG 2 (see SVG's Development history).
See also
[edit]- Scalable Vector Graphics
- Synchronized Multimedia Integration Language
- sXBL: a mechanism for defining the presentation and interactive behaviour of elements described in a namespace other than SVG files
References
[edit]- ^ "Batik implementation status". Archived from the original on 8 September 2025. Retrieved 2025-09-29.
- ^ Schiller, Jeff (2009-01-18). "Welcome To CodeDread 1.1". Archived from the original on 16 February 2009. Retrieved 2009-02-08.
- ^ Batik 1.7 Readme Archived April 9, 2008, at the Wayback Machine