79409808

Date: 2025-02-03 19:31:01
Score: 0.5
Natty:
Report link

You'll have to calculate the aspect ratio of the image, and pass it into the options object:

const result = await ImagePicker.launchCameraAsync({
    allowsEditing: true,
    quality: 0.1,
    aspect: [16, 9] // pass calculated aspect ratio here
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chibuokem Onyekwelu