Batik is a pure-Java library that can be used to render, generate, and manipulate SVG graphics (SVG is an XML markup language for describing two-dimensional vector graphics). IBM supported the project 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.
Batik running Solitaire Sample
|Developer(s)||Apache Software Foundation|
1.12 / November 6, 2019
|Type||Scalable Vector Graphics (SVG)|
|License||Apache License 2.0|
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.
Batik was long the most conformant existing SVG 1.1 implementation and as of 2011 is just a small fraction behind Opera.
Version 1.7, made available on January 10, 2008, had an "almost full" implementation of the current state of the sXBL specification, a nearly complete implementation of SVG declarative animation SMIL features, and some of the SVG 1.2 late October 2004 working draft (see SVG's Development history).
- 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
- Comparison of layout engines (SVG)
- Batik 1.7 Status
- Schiller, Jeff (2009-01-18). "Welcome To CodeDread 1.1". Archived from the original on 16 February 2009. Retrieved 2009-02-08.
- almost 94% of the official SVG tests are OK with the 1.7 version.
- Batik 1.7 Readme Archived April 9, 2008, at the Wayback Machine