ivpusic / react-native-image-crop-picker

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

forceJpg option is not converting HEIC image format to jpg #1190

Open DalbirKaur opened 4 years ago

DalbirKaur commented 4 years ago

Version

Tell us which versions you are using:

Platform

Tell us to which platform this issue is related

Expected behaviour

heic image format should be converted to the jpg format.

Actual behaviour

heic image format is not changing.

Steps to reproduce

  1. set forceJpg option to true

  2. attach heic image

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

ajfick commented 4 years ago

I've run into this same issue and would love to know if there is a solution!

arnoldc commented 4 years ago

encountered it as well

react-native-image-crop-picker 0.25.3 react-native 0.60.4

jehajj commented 3 years ago

+1

ajfick commented 3 years ago

This PR fixed the issue for me https://github.com/ivpusic/react-native-image-crop-picker/pull/792

ckasek commented 3 years ago

I'm seeing this issue. react-native-image-crop-picker 0.35.2 react-native 0.62.0

Is there any hope of this being fixed? That PR has been open for 2.5 years.

danielcardoso5 commented 3 years ago

I'm also getting this issue. When selecting HEIC files from the gallery they're not converted to jpg when using the forceJpg flag. I've tested the PR #792 and can confirm it works!

beshur commented 3 years ago

Right now with module version 0.36.2 (and with 0.35.x before) it always return in JPEG despite forceJpg param

Edit: with cropping

Yash2711 commented 2 years ago

Any update on this?