react-native-image-resizer
react-native-image-resizer copied to clipboard
When I passed in more than 16MB of image memory, there was a flash back on iOS
"react": "16.8.3",
"react-native": "0.59.10",
"react-native-image-resizer": "^1.1.0",
ImageResizer.createResizedImage(uri, 800, 600, 'JPEG', 100).then((response_) => {
console.log(response_);
}).catch((err) => {
Alert.alert('', I18n.t('upload_picture_failed'), [{ text: I18n.t('okText'), onPress: () => { } },]);
});
When I passed in more than 16MB of image memory, there was a flash back on iOS