You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by "Vincent Hennebert (JIRA)" <ji...@apache.org> on 2013/03/19 17:09:15 UTC

[jira] [Created] (XGC-82) Provide a way to close the resources associated to an image

Vincent Hennebert created XGC-82:
------------------------------------

             Summary: Provide a way to close the resources associated to an image
                 Key: XGC-82
                 URL: https://issues.apache.org/jira/browse/XGC-82
             Project: XMLGraphicsCommons
          Issue Type: Improvement
          Components: general
            Reporter: Vincent Hennebert


The o.a.x.image.loader.ImageManager.getImage methods close the resources associated to an image after it's been loaded. But there is no way to close those resources without loading the image.

There is a need for that in FOP when rendering an FO file to the Intermediate Format. The image must be preloaded to get its dimensions, but it will never be fully loaded as this is not necessary. Still, the resources that were opened at preloading time must be closed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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