Apache Batik

Software library written in Java
title: "Apache Batik" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["apache-software-foundation", "graphics-libraries", "svg-rendering-libraries", "java-(programming-language)-libraries", "software-using-the-apache-license"] description: "Software library written in Java" topic_path: "general/apache-software-foundation" source: "https://en.wikipedia.org/wiki/Apache_Batik" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0
::summary Software library written in Java ::
::data[format=table title="Infobox software"]
| Field | Value |
|---|---|
| name | Batik |
| logo | Batik (software) logo.png |
| logo size | 190px |
| screenshot | Batik Screenshot.png |
| screenshot size | 250px |
| caption | Batik running Solitaire Sample |
| collapsible | yes |
| developer | Apache Software Foundation |
| latest release version | 1.19 |
| latest release date | |
| operating system | Cross-platform |
| programming language | Java |
| genre | Scalable Vector Graphics (SVG) |
| license | Apache License 2.0 |
| website | |
| :: |
| name = Batik | logo = Batik (software) logo.png | logo size = 190px | screenshot = Batik Screenshot.png | screenshot size = 250px | caption = Batik running Solitaire Sample | collapsible = yes | developer = Apache Software Foundation | latest release version = 1.19 | latest release date = | latest preview version = | latest preview date = | operating system = Cross-platform | language = | programming language = Java | genre = Scalable Vector Graphics (SVG) | license = Apache License 2.0 | website =
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,{{cite web |url=https://xmlgraphics.apache.org/batik/status.html |title=Batik implementation status |access-date=2025-09-29 |archive-url=https://web.archive.org/web/20250908210222/http://xmlgraphics.apache.org/batik/status.html |archive-date=8 September 2025 |url-status=live}} 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.{{cite web |url=http://codedread.com/svg-support.php |title=Welcome To CodeDread 1.1 |last=Schiller |first=Jeff |date=2009-01-18 |access-date=2009-02-08 | archive-url= https://web.archive.org/web/20090216041528/http://www.codedread.com/svg-support.php| archive-date= 16 February 2009 | url-status= live}} 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, 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).
References
References
- [http://www.apache.org/dist/xmlgraphics/batik/README.txt Batik 1.7 Readme] {{webarchive. link. (April 9, 2008)
::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::