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

Close linked PNG file after rendering image link

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. edit-icon.png
          12 kB
          Finnian Reilly
        2. button.svg
          4 kB
          Finnian Reilly
        3. SVG_TO_PNG_TRANSCODER.java
          1 kB
          Finnian Reilly

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            finnianr Finnian Reilly

            Dates

              Created:
              Updated:

              Slack

                Issue deployment