Main page > Java > Image I/O libraries

List of Java libraries to read and write vector image files

Note that some file formats (like Macintosh PICT or WMF) can store both pixel and vector information.

There is a separate list of Java libraries to read and write pixel file formats like JPEG, TIFF or BMP.

Library / package License Description
AutoVue for Java Commercial See AutoVue entry in the pixel image section. Also seems to support various 2D and 3D vector file formats.
Batik Apache Software License Read and write Scalable Vector Graphics (SVG) files.
CGM Viewer Applet ? Read CGM files.
Black Dirt ? Source code to convert WMF to SVG. Also a Swing component to display SVG files.
CADViewer Commercial Read AutoCAD Drawing Web Format (DWF) and Mosaic Simple Vector Format (SVF) files. Demo available.
CSIRO SVG Viewer BSD license Read SVG files (a format which is supposed to become the web standard for vector-based images
DXF Viewer Freeware, source available on request Read DXF files in applets and applications.
FreeHEP ?, source code available Write CGM and SWF (Flash) files.
Gr2Pict ? Write Macintosh PICT files. Extends java.awt.Graphics and writes the commands to a PICT file. Does not support the pixel part of PICT files.
WMFView GPL Read WMF (Windows Metafile) vector files.
WMFWriter Commercial, evaluation version available Write WMF files.
Ycad LGPL Read and write DXF files. Can render to a Graphics context so that displaying and printing via the runtime library is possible. Ycad is the library, Ycadv the viewer component.