javascript - Compress images client-side with ng-file-upload -


i've got angularjs app uses ng-file-upload upload images server. want able compress, or @ least resize images prior uploading them server. i've been researching ways , far ng-image-compress directive seems viable approach. problem i'm having doesn't seem compatible ng-file-upload. managed pull app dependency, when upload file, it's not compressed prior being uploaded. readme on project repo offers little guidance on usage. there other approaches can take compress image client-side before it's uploaded ng-file-upload?


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -