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 "Finnian Reilly (Jira)" <ji...@apache.org> on 2021/03/13 09:45:00 UTC

[jira] [Updated] (BATIK-1304) Close linked PNG file after rendering image link

     [ https://issues.apache.org/jira/browse/BATIK-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Finnian Reilly updated BATIK-1304:
----------------------------------
    Description: 
I was using a  SVG to PNG converter in a [unit test|http://www.eiffel-loop.com/test/eiffel2java/source/test-set/svg_to_png_test_set.html] 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_

  was:I was using a  SVG to PNG converter in a [unit test|http://www.eiffel-loop.com/test/eiffel2java/source/test-set/svg_to_png_test_set.html] 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.


> Close linked PNG file after rendering image link
> ------------------------------------------------
>
>                 Key: BATIK-1304
>                 URL: https://issues.apache.org/jira/browse/BATIK-1304
>             Project: Batik
>          Issue Type: Bug
>          Components: SVG Rasterizer
>    Affects Versions: 1.6.1
>         Environment: Linux Mint 17 Cinnamon x64 edition
>            Reporter: Finnian Reilly
>            Priority: Major
>         Attachments: SVG_TO_PNG_TRANSCODER.java, button.svg, edit-icon.png
>
>
> I was using a  SVG to PNG converter in a [unit test|http://www.eiffel-loop.com/test/eiffel2java/source/test-set/svg_to_png_test_set.html] 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_



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org