On 17.10.2014 09:32, Marcus Lundblad wrote: > 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 >
Maybe it is a proper solution to get the bing logo over the attribution REST-call: http://dev.virtualearth.net/REST/v1/Imagery/Metadata/Aerial?include=ImageryProviders&output=xml&key=Arzdiw4nlOJzRwOz__qailc8NiR31Tt51dN2D7cm57NrnceZnCpgOkmJhNpGoppU The result: <Response> <Copyright>Copyright © 2014 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.</Copyright> <BrandLogoUri>http://dev.virtualearth.net/Branding/logo_powered_by.png</BrandLogoUri> ....... The png received over the given URL is the Bing logo. One minor glitch: It has no transparency so it won't make the best impression as an overlay. Best Regards Martin _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel