Ah! Mystery solved. See:
http://stackoverflow.com/questions/16138850/batik-svggraphics2d-nullpointerexception-when-drawing-image,
specifically the April 14th comment to the lone answer. This comment points
out a bug in Batik 1.8 (https://issues.apache.org/jira/browse/BATIK-1146).
Using Batik 1.7 fi
I am trying to create an SVG from a BufferedImage using the example at
https://xmlgraphics.apache.org/batik/using/svg-generator.html. The image is
a TIFF read from disk using Apache Commons Imaging. I can successfully
export this image to PNG. However cannot create an SVG. The code is
public sta
I am trying to create an SVG from a BufferedImage using the example at
https://xmlgraphics.apache.org/batik/using/svg-generator.html. The image is
a TIFF read from disk using Apache Commons Imaging. I can successfully
export this image to PNG. However cannot create an SVG. The code is
public sta