Last Updated: June 14, 2019
·
4.733K
· endel

Resize images on client-side before sending it to your server

Working draft: http://magick-uploader.herokuapp.com/

It requires FileAPI and Canvas features from your client browser, which may be polyfilled using Flash bridges, such as flashcanvas and FileReader.

Your browser does all the magic. You only need to decode the base64 data sent to your server, and save it locally.

I'm not using it on production yet, but found the current implementation pretty straightforward. I'll update soon when it's production ready (but I encourage you to try it right now).

2 Responses
Add your response

nice work!

over 1 year ago ·

Holy shit! I'm stunned!

over 1 year ago ·