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

"Murray Williams (JIRA)" <[email protected]>
Newsgroups gmane.text.xml.batik.devel
Message-ID <[email protected]>
Murray Williams created BATIK-1202:
--------------------------------------

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


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.