--- ditaa.orig/src/org/stathissideris/ascii2image/graphics/ImageHandler.java	2016-12-04 23:55:12.419269000 -0500
+++ ditaa/src/org/stathissideris/ascii2image/graphics/ImageHandler.java	2016-12-04 23:58:20.550824890 -0500
@@ -42,10 +42,10 @@
 import org.apache.batik.bridge.BridgeContext;
 import org.apache.batik.bridge.GVTBuilder;
 import org.apache.batik.bridge.UserAgentAdapter;
-import org.apache.batik.dom.svg.SAXSVGDocumentFactory;
+import org.apache.batik.anim.dom.SAXSVGDocumentFactory;
 import org.apache.batik.dom.util.DocumentFactory;
-import org.apache.batik.ext.awt.image.codec.PNGEncodeParam;
-import org.apache.batik.ext.awt.image.codec.PNGImageEncoder;
+import org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam;
+import org.apache.batik.ext.awt.image.codec.png.PNGImageEncoder;
 import org.apache.batik.gvt.GraphicsNode;
 import org.apache.batik.gvt.renderer.ConcreteImageRendererFactory;
 import org.apache.batik.gvt.renderer.ImageRenderer;
--- ditaa.orig/src/org/stathissideris/ascii2image/graphics/OffScreenSVGRenderer.java	2016-12-04 23:55:12.419269000 -0500
+++ ditaa/src/org/stathissideris/ascii2image/graphics/OffScreenSVGRenderer.java	2016-12-04 23:58:59.452412093 -0500
@@ -29,7 +29,7 @@
 import org.apache.batik.bridge.BridgeContext;
 import org.apache.batik.bridge.GVTBuilder;
 import org.apache.batik.bridge.UserAgentAdapter;
-import org.apache.batik.dom.svg.SAXSVGDocumentFactory;
+import org.apache.batik.anim.dom.SAXSVGDocumentFactory;
 import org.apache.batik.gvt.GraphicsNode;
 import org.apache.batik.gvt.renderer.ConcreteImageRendererFactory;
 import org.apache.batik.gvt.renderer.ImageRenderer;
