From fbf2bbecf44042da92b622aa206fc76bfe2c6377 Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Tue, 18 Jun 2024 08:21:54 +0100 Subject: [PATCH] BATIK-1225: PNG transcoder references nonexistent class --- .../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 d1f0950068..e30bc35a27 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 void writeImage(BufferedImage img, TranscoderOutput output) "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"); } if (adapter == null) { throw new TranscoderException(