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

Close linked PNG file after rendering image link

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.1
    • None
    • SVG Rasterizer
    • None
    • Linux Mint 17 Cinnamon x64 edition

    Description

      I was using a  SVG to PNG converter in a unit test for testing a JNI interface for the Eiffel programming language. When the test finished the unit test was not able to delete the test directory containing the SVG test file. Using the system resource monitor I found that a file for an image link within the SVG had not been closed after rendering the linked file.

      In the attached file button.svg the variable $png_path is first substituted with the path to the file edit-icon.png before attempting to render with the class SVG_TO_PNG_TRANSCODER

      Attachments

        1. button.svg
          4 kB
          Finnian Reilly
        2. edit-icon.png
          12 kB
          Finnian Reilly
        3. SVG_TO_PNG_TRANSCODER.java
          1 kB
          Finnian Reilly

        Activity

          People

            Unassigned Unassigned
            finnianr Finnian Reilly
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: