Finds the size and type of a remote image given its uri, by fetching as little as needed.