vue-image-compressor
vue-image-compressor copied to clipboard
Vue Component To Compress Image Files Via Client Side. https://bosnaufal.github.io/vue-image-compressor
'drawImage' function has to wait for the image element 'img' to load source from 'imgUrl' before accessing its width-height, otherwise they would be undefined and the scaled width-height image would...
error = Unexpected token '
 Is this intentional? Is 100 image scale and 100 quality the default setting for the image? It should be equal on file size for the original image?
With the demo, i see that this tool doesn't support transparent PNG's? Is that the case?
 #### suggestion: add the options to new File() ```javascript buildFile (blob, name, options) { return new File([blob], name, options) } ``` #### pls have a check. Thx!