https://issues.apache.org/bugzilla/show_bug.cgi?id=49681

Jeremias Maerki <jerem...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #5 from Jeremias Maerki <jerem...@apache.org> 2010-09-02 03:21:27 
EDT ---
Ok, on my side, the ImageIO implementation for ImageWriter is used which
doesn't show this problem. If I disable the ImageIO implementation the internal
codec becomes active and fails on the default configuration settings with said
exception. Now, the question is why the ImageIO implementation isn't used.
Maybe it has to do with Bug 49696 but I don't really think so. So my next
question:

What JVM are running this on so you get this result? That might help me figure
out why the internal codecs are selected over the ImageIO implementations.

In this light, another work-around presents itself:
In xmlgraphics-commons.jar you can edit
META-INF/services/org.apache.xmlgraphics.image.writer.ImageWriter
and remove the following entries:
org.apache.xmlgraphics.image.writer.internal.PNGImageWriter
org.apache.xmlgraphics.image.writer.internal.TIFFImageWriter
org.apache.xmlgraphics.image.writer.internal.JPEGImageWriter

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to