Open naveenraj092 opened 4 years ago
@naveenraj092 It can be done by supplying height and width values while callng openCamera( ). I wanted 3:4 ratio so did this ImageCropPicker.openCamera({ cropping: true, width: deviceWidth, height: (deviceWidth * 3) / 4,
How can I keep the aspect ratio for crop? I found one option. freeStyleCropEnabled but its only available in android? so how can I add this feature in ios too.
@s4sebin : seems freeStyleCropEnabled
works in ios just fine
Version
Platform
Expected behaviour
i want to display the grid view of image while cropping 4:3 aspect ratio
Actual behaviour
currently its showing 3:3 aspect ratio grid view while cropping kindly check the attachment for clear reference
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