ngx-image-compress
ngx-image-compress copied to clipboard
Expose fileToDataURL Api publicaly
Hello. I use compress method directly and don't use your upload method, instead i use classic file input and a custom drag and drop directive. So i must convert File to DataUrl before compressing it.
If you can make your fileToDataURL method available in the api it will be great and saves me to externalize your method.
best regards
EDIT // i forgot to mention that i use the legacy build in angular 9.