You mean it should be configurable in a client whether it should be downloaded at all? Can't resize unless you have the whole thing, which still requires downloading it first.
If you are unlucky the hosting webserver will not even tell you on forehand how big the file is you are trying to retrieve.