**Ottran** is a Objective C implementation of [ImageScout](https://github.com/kaishin/ImageScout), which works in swift too.
It allows you to find the size and type of a remote image by downloading as little as possible.