itinance / itinance/react-native-fs

How to read images from imagestore?

Open
#675 2 comments 14 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

there is this old issue here:
https://github.com/itinance/react-native-fs/issues/33

Now that the official react-native docs for imageStore https://facebook.github.io/react-native/docs/imagestore tells us that we should use rn-fs I'm curious - how do you do the following with rn-fs?

```
ImageEditor.cropImage(
rotatedUri,
cropData,
(croppedUri) => {
ImageStore.getBase64ForTag(
croppedUri,
(base64Image) => {
...
}
}
```

I tried with read file, but the path: rct-image-store://3 can't be read? Is there a trick to access the image store?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.