js-stuff/downsize-image/

downsize-image

A very usefull function in js for downsizing images client side. You can accept big images without fear, this will downsize them before you send them to your server.

The interesting bit of code is in dowsize-image.js, the rest is just for testing. It was tested with 35MB images on chrome, firefox and edge desktop. It was also tested with chrome, firefox and safari on mobile

via https://bookmarks.ecyseo.net/?8IcaYQ (merci coupain !)

Lire la suite de js-stuff/downsize-image/

Fil RSS des articles de ce mot clé
  • RT @sebsauvage

    Je pose ça là, parce que c'est beau: Un schéma des différentes briques qui composent un système Linux, et les outils permettant de les observer.