From 02e469f660450b37300984ad7ac258dfa0111baa Mon Sep 17 00:00:00 2001
From: Michael Simacek <msimacek@redhat.com>
Date: Fri, 27 Nov 2015 15:35:57 +0100
Subject: [PATCH] Fix imageio codec lookup
---
.../java/org/apache/batik/transcoder/image/PNGTranscoder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/batik-transcoder/src/main/java/org/apache/batik/transcoder/image/PNGTranscoder.java b/batik-transcoder/src/main/java/org/apache/batik/transcoder/image/PNGTranscoder.java
index c25804e..7ea8c26 100644
--- a/batik-transcoder/src/main/java/org/apache/batik/transcoder/image/PNGTranscoder.java
+++ b/batik-transcoder/src/main/java/org/apache/batik/transcoder/image/PNGTranscoder.java
@@ -116,7 +116,7 @@ public class PNGTranscoder extends ImageTranscoder {
"org.apache.batik.ext.awt.image.codec.png.PNGTranscoderInternalCodecWriteAdapter");
if (adapter == null) {
adapter = getWriteAdapter(
- "org.apache.batik.transcoder.image.PNGTranscoderImageIOWriteAdapter");
+ "org.apache.batik.ext.awt.image.codec.imageio.PNGTranscoderImageIOWriteAdapter");
}
throw new TranscoderException(
--
2.17.0