With a properly resized and compressed image you will be able to upload and download faster without impacting the quality of the image and in the process you will improve the visitor’s experience and enhance your SEO.
The result of uploading a video directly from your device to your website particularly if it is a large video is that the large video will slow down your website, upset visitors to your site and detrimentally affect your SEO. If your site happens to have a lot of traffic and the visitors play lots of videos on your site you might end up hitting some band usage limit in your hosting account. When you upload a video from your device to YouTube and subsequently embed it on your site, the video will play on YouTube servers and not on your hosting.
For a fast website you need to optimize images before uploading them to your site as well as optimize them once they are on your site.
Optimize Images Before Uploading Them to Your Site
Even though a PNG image and a JPG image look very much the same, they are, in fact, very different in terms of the way the actual image is stored. Letβs not get into the boring technical details here, and instead just focus on what the difference is in practical terms:
JPG images are great for all kinds of photos and graphics that feature multiple colors, color transitions, shades β a lot of color info overall.
PNG images are great for low-color info images β this means things like interface screenshots and simple graphics.
JPG Images
The image below has the following dimensions:
width: 1920 px
height: 1280
size: 255 KB
The image below has the following dimensions:
width: 960 px
height: 640 px
size: 40,5 KB
The image is now 84% smaller without losing quality.