react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

Getting "Cannot find image data" and "code":"E_NO_IMAGE_DATA_FOUND

Open ghost opened this issue 4 years ago • 9 comments

An error message is r returned when tried to upload an image from gallery, which is in .heic format.

Error log

Version

  • react-native-image-crop-picker v0.26.1
  • react-native v0.61.4

Platform

  • Android

Expected behaviour

Return the image selected from gallery

Actual behaviour

Throws 'E_NO_IMAGE_DATA_FOUND '

Steps to reproduce

1.Open image from gallery (.heic format)

I found forceJpg prop can be used in iOS. Is there any solution or any way to convert .heic files to compatible format in android ? Thanks in advance

ghost avatar Feb 26 '21 08:02 ghost