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 "Prerna (JIRA)" <ji...@apache.org> on 2017/11/23 14:01:10 UTC

[jira] [Created] (BATIK-1208) Out of memory error when trying to convert svg to png for large svg files

Prerna created BATIK-1208:
-----------------------------

             Summary: Out of memory error when trying to convert svg to png for large svg files
                 Key: BATIK-1208
                 URL: https://issues.apache.org/jira/browse/BATIK-1208
             Project: Batik
          Issue Type: Bug
          Components: SVG Rasterizer
    Affects Versions: 1.9
         Environment: OS: Windows 7, jdk 1.8
            Reporter: Prerna
         Attachments: svg-data.txt

Code:
PNGTranscoder transcoder = new PNGTranscoder();
TranscoderInput transcoderInput = new TranscoderInput(new StringReader(data));
TranscoderOutput transcoderOutput = new TranscoderOutput(OutputStream);
transcoder.transcode(transcoderInput, transcoderOutput);

I have attached the svg data.



--
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