How to improve performance of bitmap operations with react-native-reanimated and react-native-skia #5651
Unanswered
tomdoeslinux
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm creating a pixel art editor with react-native-reanimated and react-native-skia, and I was wondering how I can improve performance?
I have some code which manipulates a
uint8array
and converts it to an image which is passed to Image component from react native skia.Currently, the code just isn't as fast as I'd like it to be and I was wondering whether or not this is an issue on my end or just due to the limitations of React Native and the libraries I'm using:
There is a noticeable delay when the user draws, which is quite frustrating as in native (using android bitmap) it's very fast.
I'm trying to think of what I can possibly do to improve speeds, but I just don't know what.
Perhaps because
react-native-skia
doesn't exposeSkBitmap
?Help would be appreaciated.
Beta Was this translation helpful? Give feedback.
All reactions