Software:Apache Batik

From HandWiki
Revision as of 18:34, 12 December 2025 by Jslovo (talk | contribs) (correction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Batik
Screenshot
Batik running Solitaire Sample
Developer(s)Apache Software Foundation
Stable release
1.19 / May 6, 2025; 8 months ago (2025-05-06)
Written inJava
Operating systemCross-platform
TypeScalable Vector Graphics (SVG)
LicenseApache License 2.0
Websitexmlgraphics.apache.org/batik

Batik is a pure-Java library that can be used to render, generate, and manipulate SVG 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.

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

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

References