React-native-fs: Could not read file at path rct-image-store://0

Created on 7 Dec 2015  路  6Comments  路  Source: itinance/react-native-fs

This type of path is returned by the default native module ImageEditingManager.cropImage.

Would this be possible to implement? You can show the image normally via <Image source={{uri: rct-image-store://0}} />

question

Most helpful comment

I am having similar problem when i try read a cropped image. The react native docs says that ImageStore is deprecated.

All 6 comments

@ms88privat I haven't used this myself but reading the source it seems that all the methods you need are already added there?

What do you want to do with the image? If you just want to read it, there is a method for that, called getImageDataForTag in the RCTImageStoreManager module.

cropImage returns the tag for the cropped image, and using getImageDataForTag you should be able to read it. Is that what you are after?

Closing this due to inactivity.

The react native docs are now recommending this module instead of ImageStore for getting data from image store images https://facebook.github.io/react-native/docs/imagestore

Is there any way to do this?

Yes, looks like this issue should be reopened

I am having similar problem when i try read a cropped image. The react native docs says that ImageStore is deprecated.

How can I read images from imagestore with this library?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

npomfret picture npomfret  路  4Comments

wangfpp picture wangfpp  路  3Comments

AbdelkaderOumrani picture AbdelkaderOumrani  路  3Comments

opoze picture opoze  路  3Comments

wmonecke picture wmonecke  路  3Comments