ngx-image-compress icon indicating copy to clipboard operation
ngx-image-compress copied to clipboard

Expose fileToDataURL Api publicaly

Open Gjuju opened this issue 2 years ago • 0 comments

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.

Gjuju avatar Jun 17 '22 12:06 Gjuju