Skia provides an API for reading the pixels of an image, after learning such a thing I looked for libraries and or tutorials on image color extraction, but none satisfied my needs and requirements with the exception of the popular color thief library, the problem with this one is that is browser based, so I made small modifications to the source code in order to be used with React Native Skia.
color-pallete.mp4
- @shopify/react-native-skia
- color-thief (modified to work with skia)
yarn install
npx expo start --clear