I try to receive all pixel information (RGB data) from an image. Right now i got it working by using react-native-canvas, drawing the image and using getImageData() to receive the RGB-Values.
But this way takes around 1 minute to get the data from an 512x512px JPEG.
Is there any more efficient way to do this?
I am using an expo managed workflow, but I'd eject from expo if it's necessary to accomplish this.
Greetings.