Web Form and Images: Automatically change quality

Some sites limit size of an image Form allows to send, but web browser known maximum size. Why force user to change quality by hand? In my opinion, web browser should ask to reduce quality in order to fit maximum size.