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
Post a Comment