ivpusic / react-native-image-crop-picker

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

Different images size for same file in iOS and Android #2067

Open gkasireddy202 opened 5 months ago

gkasireddy202 commented 5 months ago

Version

Tell us which versions you are using:

Platform

Tell us to which platform this issue is related

Expected behaviour

We need to return the same file size for iOS and Android.

Actual behaviour

When I select a 35 MB single file from the picker, the callback returns different file sizes for iOS and Android. iOS - 19133783 Android - 36700160

Steps to reproduce

1.

2.

3.

Attachments

// stacktrace or any other useful debug info

image

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

loekTheDreamer commented 4 months ago

its becasue cropping is false. if you make it true it will crop the image according to your width and height.