I'm wondering if there is a way (hopefully with an example 😉 ) to grab a MapService's legend JSON and decode the base64 encoded imageData directly without having to construct relative URLs to each image resource?
This would help save on the roundtrip calls to the server.
Thanks
Greg