XGC-82: provide a way to close the resources associated to an image without fully loading it


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/commons/trunk@1458373 13f79535-47bb-0310-9956-ffa450edef68