Why not upload correct size from the beginning?
You can use any image software on your computer to format, optimize and resize your images.
If really necessary, extension can be created to format uploaded images, but they way browsers work large image will be still uploaded first to the server before resizing.
Why do you want your bandwidth and server work for you instead of your computer?