http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Overview
FAQ
License
Download
Install
Demo

In the news

Tools and Apps
Browser
Rasterizer
Font Converter
Pretty-printer

Architecture
Generator
DOM API
Scripting
JSVGCanvas
Transcoder API

Extensions

Testing

Contributors
Mail Lists

CVS Repository
Bug Database

Status

Glossary


Batik Overview

Batik release 1.1

Batik is a Java(tm) technology based toolkit for applications that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such as viewing, generation or manipulation.

The project's ambition is to give developers a set of core modules which can be used together or individually to support specific SVG solutions. Examples of modules are the SVG parsers, the SVG generator and the SVG DOM implementation. Another ambition for the Batik project is to make it highly extensible (for example, Batik allows the developer to handle custom SVG tags). Even though the goal of the project is to provide a set of core modules, one of the deliverables is a full fledged SVG browser implementation which validates the various modules and their inter-operability.


Applications of Batik

Batik use cases With Batik, you can manipulate SVG documents anywhere Java is available. You can also use the various Batik modules to generate, manipulate, transcode and search SVG images in your applications.

Batik makes it easy for Java based applications to deal with SVG content. For example, using Batik's SVG generator, a Java application can very easily export its graphics in the SVG format. Using Batik's SVG processor and SVG Viewing component, an application can very easily integrate SVG viewing capabilities. Another possibility is to use Batik's modules to convert SVG to various formats, such as raster images (JPEG or PNG).

Batik provides core components for handling and processing SVG files. See examples of projects and products using Batik for real-life example of how Batik is already integrated in projects and products.


The SVG Specification

Scalable Vector Graphics, SVG, is a W3C recommendation. It defines an XML grammar for rich 2D graphics which includes features such as transparency, arbitrary geometry, filter effects (shadows, lighting effects, etc...), scripting and animation.

The SVG specification can be found on the W3C site. Batik 1.1 is conformant with the final recommendation of September 4th, 2001.


Batik's Implementation Status

At this time, Batik provides a good implementation for all the SVG static features, supports linking, and has some scripting support, even though dynamic modification of SVG documents is not yet available and animation is not supported.

You will find a detailed description of the set of SVG features Batik supports on the Status page.


Download Batik

You can get the Batik distribution (source and binary) on the download page.

Note All other libraries needed by Batik are included in the distribution. As a consequence the Batik archive is quite big, but after you downloaded it, you will not need anything else.


Examples of projects and products using Batik

While it is hard to track projects and products which are using Batik, here are a few ones which are known:



Copyright © 2000-2001 The Apache Software Foundation. All Rights Reserved.