Apache Batik
| Company type | Open source software project |
|---|---|
| Industry | Software development |
| Founder | IBM (original development) |
Area served | Worldwide |
| Products | Java library for SVG creation, rendering, and manipulation; Squiggle SVG viewer |
| Owner | Apache Software Foundation |
| Website | xmlgraphics |
Batik is a comprehensive library written entirely in Java designed for the creation, rendering, and manipulation of SVG images. Originally developed with support from IBM, the project was later contributed to the Apache Software Foundation, where it garnered contributions from various organizations and development teams.
The main components of Batik provide capabilities such as:
- Displaying and dynamically altering SVG data,
- Converting SVG graphics into raster image formats including PNG, JPEG, and TIFF,
- Transforming Windows Metafile (WMF) files into SVG format,
- Handling scripting and user interaction events embedded within SVG files.
Included with the library is Squiggle, an SVG viewer application that leverages these core modules.
The name of the library is inspired by the traditional Batik textile art technique.
Status
For an extended period, Batik was acknowledged as the most standards-compliant implementation of SVG 1.1, with its 1.7 release reaching close to 94% conformity on official SVG compliance tests. By 2011, it maintained a performance level comparable to browsers such as Opera.
Version 1.7, released on January 10, 2008, incorporated an "almost complete" implementation of the sXBL specification, broad support for SVG declarative animation through SMIL, and partial integration of the late 2004 draft of SVG 1.2.
See also
- Scalable Vector Graphics
- Synchronized Multimedia Integration Language
- sXBL: specification for defining presentation and interactive behaviors for elements outside SVG namespaces
External links
- Official Apache Batik Project site
- Current status of Batik’s sXBL support
- W3C’s official SVG page, maintained by the SVG Working Group