ImageIO.read() has a variant taking a java.io.URL instance.
This should, by default, use caching (possibly in-memory per-session,
but we would download the tiles anyway, so maybe that is acceptable)
automatically.
I was about to try to cook up a patch falling back to using this method
if the getResourceAsStream() call returns null, but I couldn't find a
URL to the Bing logo.
The logo embedded in the upstream source seems to be an older version,
and looking at the bing.com website I could only see sheet images
(indexed by CSS classes).

//Marcus

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to