dfa1234 / ngx-image-compress

Angular library for uploading and compressing images
https://image-library.app
MIT License
86 stars 37 forks source link

StackBlitz uploadAndGetImageWithMaxSize doesn't work #76

Closed Ranindu15 closed 2 years ago

Ranindu15 commented 2 years ago

Please update the stackblitz

dfa1234 commented 2 years ago

Stackbliz has a lot of compilations problem recently, not linked to this plugin. It should be working now. For the demo please look at https://image-library.app You can still look at the code from github

Ranindu15 commented 2 years ago

@dfa1234 If I want to compress any image to lower than 150kb then how could I do this?

dfa1234 commented 2 years ago

@Ranindu15 150kb is approximately .15mb, so you pass "0.15" to the function, it will do the work