mrousavy / react-native-jsi-image

🖼️ A writeable in-memory Image JSI Host Object
MIT License
286 stars 4 forks source link

Example of usage with react-native-vision-camera? #11

Open stevengoldberg opened 1 year ago

stevengoldberg commented 1 year ago

The readme seems to indicate that this library can be used to more efficiently display a photo taken with react-native-vision-camera but I can’t figure out how to implement it. The example app shows console logs, but doesn’t render an image to the screen. Can anyone provide a code example?

mrousavy commented 1 year ago

It unfortunately does not work yet with the current released versions. This is a proof of concept, I haven't had the time to finish this yet.

shivams2i commented 1 month ago

Hey @mrousavy is that something which we can follow. So that we can return the UIImage instance after takePhoto.

mrousavy commented 1 month ago

This is an insanely difficult task, even though it might sound simple.

I've been working on a full new architecture/framework to build native modules which even bridges to Swift - it's called "Nitro Modules".

There's weeks or months of research and development that went into this.

shivams2i commented 1 month ago

This is an insanely difficult task, even though it might sound simple.

I've been working on a full new architecture/framework to build native modules which even bridges to Swift - it's called "Nitro Modules".

There's weeks or months of research and development that went into this.

Your hard work is impressive 🔥. Keep up the great work. This could be a game-changer!