Open hellobbq opened 6 years ago
+1
This happens when am trying to pick the image from download folder @ivpusic
In my understanding, this error arise when the image extension is not supported (as described here). In my case, I first thought that is was due to fact that my image was in the download folder, but it was because I tried with a webp. It worked in the download folder with a jpg.
Please give solution for this issue , or any work around facing this issue on android only
any progress on this issue? seriously having a bad time because of this
@nwaughachukwuma It looks like some images are fine, but all webp and some jpg images will get this error [Error: Cannot find image data]
,and they are all in Download
folder.
The jpg below will be error:
Version
Tell us which versions you are using:
Platform
Tell us to which platform this issue is related
Android test
Expected behaviour
when pick gif for cropping, return jpeg
Actual behaviour
catch error:
Steps to reproduce
1.ImagePicker.openPicker({width: 1000, height: 1000, cropping: true,compressImageQuality: 0.9,mediaType: 'photo'})
Attachments
// stacktrace or any other useful debug info
Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate