Hi, I’m using the ImagePicker to take photos in my app. When the photo is taken, I use ImageManipulator to compress it (for some reason, the quality
parameter in ImagePicker.launchCameraAsync doesn’t do anything). After processing, images taken on Android devices are rotated 90º to the left. No idea why this is happening. Cheers!
The code looks like this:
const photoData = await ImagePicker.launchCameraAsync({
allowsEditing: false,
base64: false,
exif: true,
});
(...)
const manipResult = await ImageManipulator.manipulate(
photoData.uri,
[],
{
compress: Platform.select({android:0.75,ios:0.50}),
format: 'jpeg',
}
);