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 "Murray Williams (JIRA)" <ji...@apache.org> on 2017/09/20 12:25:00 UTC

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

    [ https://issues.apache.org/jira/browse/BATIK-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16173089#comment-16173089 ] 

Murray Williams edited comment on BATIK-1202 at 9/20/17 12:24 PM:
------------------------------------------------------------------

This is the problem file, as requested.


was (Author: mw24):
This is the problem file, as requested/

> "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: 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org