[jira] [Commented] (BATIK-1202) "PNG URL is corrupt or unsupported variant" after upgrade 1.8 -> 1.9

"simon steiner (JIRA)" <[email protected]>
Newsgroups gmane.text.xml.batik.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/BATIK-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182674#comment-16182674 ] 

simon steiner commented on BATIK-1202:
--------------------------------------

Works on trunk

> "PNG URL is corrupt or unsupported variant" after upgrade 1.8 -> 1.9
> --------------------------------------------------------------------
>
>                 Key: BATIK-1202
>                 URL: https://issues.apache.org/jira/browse/BATIK-1202
>             Project: Batik
>          Issue Type: Bug
>    Affects Versions: 1.9
>         Environment: Java 1.8 / Centos 6
>            Reporter: Murray Williams
>         Attachments: markup.svg, trafficlight_not_calculable.png
>
>
> Following upgrading the version of the batik library we are using from 1.8 to 1.9, we are now getting the following error when attempting to use the PNGTranscoder to generate a PNG image from SVG with an embedded 8-bit PNG image:
> {noformat}
> The URI "file:/foo/bar.png"
> on element <image> can't be opened because:
> PNG URL is corrupt or unsupported variant
>         at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:227) ~[batik-transcoder-1.9.jar:?]
>         at org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:92) ~[batik-transcoder-1.9.jar:?]
>         at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142) ~[batik-transcoder-1.9.jar:?]
>         at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156) ~[batik-transcoder-1.9.jar:?]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.