macOS
brew install batiklocal Homebrew formula metadata
sudo port install batikMacPorts ports tree · java/batik/Portfile · source: api.github.com
brew
Java-based toolkit for SVG images. Version 1.19 via Homebrew; verified from local package data.
install
brew install batiklocal Homebrew formula metadata
sudo port install batikMacPorts ports tree · java/batik/Portfile · source: api.github.com
sudo apt install libbatik-javaDebian stable package indexes · libbatik-java · source: deb.debian.org
sudo dnf install batikFedora Rawhide package metadata · batik · source: dl.fedoraproject.org
nix profile install nixpkgs#batiknixpkgs package indexes · pkgs/by-name/ba/batik/package.nix · source: api.github.com
sudo zypper install xmlgraphics-batikopenSUSE Tumbleweed package metadata · xmlgraphics-batik · source: download.opensuse.org
overview
Java-based toolkit for SVG images
history
Apache Batik is a long-running Java toolkit for rendering, generating, manipulating, viewing, and transcoding SVG. In package-manager terms it is both a library stack and a set of command-line tools such as the rasterizer, Squiggle SVG browser, SVG pretty-printer, and TTF-to-SVG converter.
Batik emerged during the early SVG standardization era. A W3C www-svg mailing-list announcement from December 4, 2000 announced the beta release of Batik 1.0 as an Apache Batik team project and described it as a Java 2D based SVG toolkit.
The current Apache project page describes the same core ambition: provide reusable Java modules for SVG parsing, generation, DOM support, viewing, scripting, and transcoding, plus a full SVG browser implementation to validate interoperability.
Batik remains part of Apache XML Graphics. Its GitHub repository is an Apache mirror for the official project, while the canonical documentation and release news live under xmlgraphics.apache.org.
Batik has persisted because SVG rendering and conversion are infrastructure needs. The Apache site explicitly points to real-life projects and products using Batik, and package metadata shows it shipped through Homebrew, Debian and Ubuntu as libbatik-java, Fedora, MacPorts, Nix, and openSUSE.
Recent Apache news shows active maintenance through version 1.19 on May 6, 2025, following 1.18 in 2024 and earlier bug-fix and security releases.
Developers use Batik from Java applications to parse, render, generate, manipulate, and transcode SVG, including server-side conversion to formats such as PNG, JPEG, TIFF, EPS, and PDF when paired with related Apache components.
CLI users encounter it through tools such as batik-rasterizer, batik-squiggle, batik-svgpp, batik-slideshow, and batik-ttf2svg.
Batik is important package-manager archaeology: a pre-Rust, pre-Go, Java-era graphics toolkit that still matters because SVG conversion has long tails in build systems, documentation pipelines, desktop Java applications, and distribution repositories.
It is also a reminder that command-line packages can be wrappers around substantial library ecosystems. Installing batik pulls in decades of XML, SVG, Java2D, and Apache XML Graphics history, not just one executable.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.batik/preferences.xml~/.batik/__svgbrowser.policyexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
batik-rasterizer | cli | global executable | |
batik-slideshow | cli | global executable | |
batik-squiggle | cli | global executable | |
batik-svgpp | cli | global executable | |
batik-ttf2svg | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://xmlgraphics.apache.org/batik/
install metadata
| Package key | brew:batik |
|---|---|
| Version | 1.19 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/batik |
| Homepage | https://xmlgraphics.apache.org/batik/ |
| Repository | https://github.com/apache/xmlgraphics-batik |
| Upstream docs | https://xmlgraphics.apache.org/batik |
| License | Apache-2.0 |
| Source archive | https://www.apache.org/dyn/closer.lua?path=xmlgraphics/batik/binaries/batik-bin-1.19.tar.gz |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | batik |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libbatik-java 1.18+dfsg-2
xml.apache.org SVG Library
https://xmlgraphics.apache.org/batik/
sudo apt install libbatik-javabatik
nix profile install nixpkgs#batiklibbatik-java 1.17+dfsg-1
xml.apache.org SVG Library
https://xmlgraphics.apache.org/batik/
sudo apt install libbatik-javabatik 1.19-3.fc44
Scalable Vector Graphics for Java
https://xmlgraphics.apache.org/batik/
sudo dnf install batikbatik-css 1.19-3.fc44
Batik CSS engine
https://xmlgraphics.apache.org/batik/
sudo dnf install batik-cssbatik-demo 1.19-3.fc44
Samples for batik
https://xmlgraphics.apache.org/batik/
sudo dnf install batik-demobatik-javadoc 1.19-3.fc44
Javadoc for batik
https://xmlgraphics.apache.org/batik/
sudo dnf install batik-javadocbatik-rasterizer 1.19-3.fc44
Batik SVG rasterizer
https://xmlgraphics.apache.org/batik/
sudo dnf install batik-rasterizerbatik-slideshow 1.19-3.fc44
Batik SVG slideshow
https://xmlgraphics.apache.org/batik/
sudo dnf install batik-slideshowbatik-squiggle 1.19-3.fc44
Batik SVG browser
https://xmlgraphics.apache.org/batik/
sudo dnf install batik-squigglebatik-svgpp 1.19-3.fc44
Batik SVG pretty printer
https://xmlgraphics.apache.org/batik/
sudo dnf install batik-svgppbatik-ttf2svg 1.19-3.fc44
Batik SVG font converter
https://xmlgraphics.apache.org/batik/
sudo dnf install batik-ttf2svgbatik-util 1.19-3.fc44
Batik utility library
https://xmlgraphics.apache.org/batik/
sudo dnf install batik-utilxmlgraphics-batik 1.18-1.5
Scalable Vector Graphics for Java
sudo zypper install xmlgraphics-batikbatik
sudo port install batikxmlgraphics-batik-rasterizer 1.18-1.5
Batik SVG rasterizer
sudo zypper install xmlgraphics-batik-rasterizersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.