Dhaval2404/ImagePicker

Crash on the cropping page when taking high resolution images (64MP)

guy-4444 opened this issue ยท 5 comments

I try to take a picture from the camera but when I take 64mp picture it crash on the cropping page.
i try with the same device with front camera (32MP), everything ok.

Guy.

hbb20 commented

It will be better to address this sooner since new devices are having high res camera. May be it's a not really an issue of this library though since it uses other library for crop.

hbb20 commented

Compressing before sending to the image cropper might be an effort that can be done from this library.

@hbb20 I will try to fix this over the weekend. Thank you so much for the hint.

hbb20 commented

Hey, this might be helpful to you. Looks like 2.2.6 of uCrop has this fixed. So uCrop update from 2.2.5 to 2.2.6 in this project should fix this.

hbb20 commented

FYI: I added 2.2.6 of uCrop in addition to imagepicker in my project and it worked for high res images. So may be that's all you will need to do.. update uCrop from 2.2.5 to 2.2.6 ๐Ÿ‘