matheusdavidson / angular-cropperjs

CropperJS integration for Angular +6
MIT License
109 stars 69 forks source link

Rotating image and cropper (64 Mb Size) toBlob getting grey blank screen #65

Closed Ankitkumar7 closed 2 years ago

Ankitkumar7 commented 2 years ago

Describe the bug I am using large image of size 64 MB, When i try to rotate and crop getting grey blank screen

To Reproduce Steps to reproduce the behavior:

Open Image of size 64 MB Rotate Image Get output from toBlob See blob data as grey blank screen Expected behavior Grey Blank Screen

Screenshots image

Desktop (please complete the following information):

Browser: Chrome Smartphone (please complete the following information):

Not tested Additional context None

matheusdavidson commented 2 years ago

This is a known issue with Cropper JS itself, you need to limit the image size, have a look at this: fengyuanchen/cropperjs#19