react-native-image-resizer
react-native-image-resizer copied to clipboard
Why my pictures can not be compressed?
Why my pictures can not be compressed,my code
i have some problem. You fix this?
@qqdayan Some error message ?
@qqdayan @fcostaprojects - I believe response holds the uri you are looking for. Here is my code:
ImageResizer.createResizedImage(imagePath, 100, 100, 'JPEG', 5)
.then(({uri}) => {
setImage(uri);
})
.catch(err => {
console.log(err);
});
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed. Thank you for your contributions.