Image compression is one of those small features that can make a website feel much faster. If users upload large photos from a phone, the original image can easily be 3MB, 5MB or even 10MB. For many apps, blogs, forms and dashboards, that is bigger than needed.

Source: [Dev.to](https://dev.to/khurram_shahbaz_2074590a5/how-to-compress-images-in-the-browser-using-javascript-1g11)

Sponsored