Javascript Image Compress using HTML5 Canvas & File API before Upload with PHP

preview_player
Показать описание
Javascript Image Compress using HTML5 Canvas & File API before Upload with PHP In this tutorial I will show you how to compress images before upload to server, usually we don’t compress images and upload them directly to server and then compress them in this tutorial you will learn how to compress images on client side and when user upload it will take less time (if slow internet) and space on server.

Suppose you upload an image of 5MB it will decrease its quality and make it 600kb to 700kb if you set quality to 30%. you can try demo on our website.



Рекомендации по теме
Комментарии
Автор

Sorry for recording videos without voice because there is too much noise so....

huzoorbux
Автор

Subscribed, but still cannot download...

WTFax