Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1208

Out of memory error when trying to convert svg to png for large svg files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: SVG Rasterizer
    • Labels:
      None
    • Environment:
      OS: Windows 7, jdk 1.8

      Description

      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.

        Attachments

        1. svg-data.txt
          1.60 MB
          Prerna

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Prerna Prerna
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: