You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2016/04/15 13:53:25 UTC
[jira] [Commented] (BATIK-1146) batik-codec-1.8.jar is broken
[ https://issues.apache.org/jira/browse/BATIK-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242858#comment-15242858 ]
simon steiner commented on BATIK-1146:
--------------------------------------
Added
http://svn.apache.org/viewvc?view=revision&revision=1739288
> batik-codec-1.8.jar is broken
> -----------------------------
>
> Key: BATIK-1146
> URL: https://issues.apache.org/jira/browse/BATIK-1146
> Project: Batik
> Issue Type: Bug
> Components: SVGGraphics2D, Utilities
> Affects Versions: 1.8
> Reporter: Michele Bonazza
>
> the jar for batik-codec that's both in maven and in the distribution mirrors has a {{META-INF/services}} folder containing two files ({{RegistryEntry}} and {{ImageWriter}}) that point to classes inside the {{imageio}} package:
> {code:java}
> org.apache.batik.ext.awt.image.codec.imageio.ImageIOPNGImageWriter
> org.apache.batik.ext.awt.image.codec.imageio.ImageIOTIFFImageWriter
> org.apache.batik.ext.awt.image.codec.imageio.ImageIOJPEGImageWriter
> {code}
> However, the {{org.apache.batik.ext.awt.image.codec.imageio}} package is not included in the jar.
> Both files have commented-out entries that would work:
> {code:java}
> #org.apache.batik.ext.awt.image.codec.png.PNGRegistryEntry
> #org.apache.batik.ext.awt.image.codec.tiff.TIFFRegistryEntry
> {code}
> This causes a {{ClassNotFoundException}} when trying to include images in a SVG file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org