Closed AliYmn closed 4 years ago
Sorry it was already included.
I have tried this but its shows me blank result. What am I doing wrong?
var imageURI = '';
const resizedImg = await Resizer.imageFileResizer(
fileList.fileList[0].originFileObj,
300,
300,
'JPEG',
100,
0,
uri => {
imageURI = uri
console.log(uri )
},
'blob'
);
console.log(resizedImg)
console.log(imageURI)
Hi, i think react-image-file-resizer need to data uri to blob. We can use this to upload image files and so it will be easier.