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

Low resolution image when cropping is disabled #814

Open AdrianZghibarta opened 6 years ago

AdrianZghibarta commented 6 years ago

Version

react-native-image-crop-picker v0.21.1 react-native v0.56

Platform

iOS Android

Expected behaviour

When disabling cropping for ImagePicker.openPicker the preview image on Android / iOS must be the original image

Actual behaviour

When disabling cropping for ImagePicker.openPicker the preview image on Android / iOS is a low resolution image

Steps to reproduce

  1. Install the package

  2. Open camera magePicker.openCamera({ cropping: false }).then(response => { ... }).catch(error => { ... });

  3. After the image is taken, the preview in a low resolution image.

gianpaj commented 6 years ago

maybe this will fix this? https://github.com/ivpusic/react-native-image-crop-picker/pull/825