I am trying to find out the width and height of an image (a URL) transferring as few bytes as possible. This coding challenge has two separate parts:Finding the cheapest way to retrieve width and height.Verifying that the solution is indeed cheap.The first part is not that interesting since it’s a fairly well documented problem. A bit too documented, actually, since I found several solutions:
...
↧