Vue Image Compressor
You can install it via NPM
npm install vue-image-compressor
Or Just put it after Vue JS~
// Orvar imageCompressor = ;
Callback after Compress the image. It will pass original file and compressed file and also the canvas element. The object pretty complete with blob and base64 and other needed information.
The percentage of image scaling it starts from 1 to 100.
The percentage of image quality it starts from 1 to 100.
Thank You for Making this useful~
Let's talk about some projects with me
Just Contact Me At:
MIT Copyright (c) 2016 - forever Naufal Rabbani