graphics.dispose();
return new SimpleResource(data.getKey(), bi, Image.class, version);
}
catch (IOException e)
{
throw new ResourceLoadingException("Failed to process SVG file", e);
}
catch (URISyntaxException e)
{
throw new ResourceLoadingException("Failed to process SVG file", e);
}
}