Open fega opened 5 years ago
I can also confirm this is happening. If a user selects an animated GIF, the result is a static JPEG instead.
Did you find a solution? I'm facing the same issue...
Did you find a solution?
'filePath' is forced to jpg extension that is created by the 'writeTempFile' option.
https://github.com/ivpusic/react-native-image-crop-picker/pull/1301 Check for my PR.
Apparently the same is happening with .BPM extension,
@omarinho .bpm is not support to extension but you can customize persistFile function to support bpm
I saw that a fix was merged here #1301 . Any plans on publishing this fix on v.0.25.3 for RN 0.60? It would be a saviour for us!
Any news with this fix? It seems correct but why has it not been merged after years? .gif is still not working and it is still returning a .jpg
Version
Tell us which versions you are using:
Platform
IOS
Expected behaviour
I'd expect as mentioned in previous comments that if I set compressImageQuality as undefined it will return original image but it doesn't work (I tried also with values like 1, 100 and null, but i'm getting the same)
Actual behaviour
image is a JPEG
Steps to reproduce
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