react-native-image-resizer icon indicating copy to clipboard operation
react-native-image-resizer copied to clipboard

Resized image not found

Open pavermakov opened this issue 6 years ago • 2 comments

I need to use this library to resize pictures taken on camera. The response uri shows that the end result is located in the same directory with the original image.

However, when I try to user rn-fetch-blob to turn the resized image into base64, i get an ENOENT error.

pavermakov avatar Feb 21 '19 09:02 pavermakov

Try that : Platform.OS === "ios" ? response.path : response.uri

When you use "RNFetchBlob.fs.readFile()" response.

On iOS, when I use "response.uri", i'm getting : "No such file 'file:///......."

Jobel91 avatar Mar 22 '19 11:03 Jobel91

uri = (Platform.OS === 'ios') ? uri.replace('file:', '') : uri;

tmjordan avatar May 22 '19 18:05 tmjordan

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.

stale[bot] avatar Sep 01 '22 19:09 stale[bot]

This issue has been automatically closed. Thank you for your contributions.

stale[bot] avatar Sep 09 '22 03:09 stale[bot]