ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.16k stars 1.56k forks source link

cropping gif error, "E_NO_IMAGE_DATA_FOUND" #697

Open hellobbq opened 6 years ago

hellobbq commented 6 years ago

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:

{"framesToPop":1,"code":"E_NO_IMAGE_DATA_FOUND"}
Error: Cannot find image data

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

XHTeng commented 6 years ago

+1

nwaughachukwuma commented 5 years ago

This happens when am trying to pick the image from download folder @ivpusic

BasileVu commented 5 years ago

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.

SDE-Arvind commented 4 years ago

Please give solution for this issue , or any work around facing this issue on android only

mjm918 commented 4 years ago

any progress on this issue? seriously having a bad time because of this

Riant commented 3 years ago

@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: 12-21-24-024